// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// @license: Mad4Media Javascipt License - copyright Mad4Media - Fahrettin Kutyol - All rights reserved    ++
// (re-) publishing or forking for any purpose of commercial or non-commercial use is not allowed.		   ++
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
var mService=undefined;function fadeService(_1){_("m4jSendServiceKey").value=_("m4jServiceKey").value;_("mServiceContent").innerHTML="<iframe name=\"m4jServiceIFrame\" src=\"\" style=\"display:block; width:100%; height:100%; margin-top:-10px;\" frameborder=\"0\" ></iframe>";document.m4jConnect.submit();fadeDarken(_1);var _2=1;var _3=_1?0:_2;var _4=_1?_2:0;mService.style.display="block";var _5=_1?function(){return true;}:function(){mService.style.display="none";};_fx.fadeOpacity(mService,600,_3,_4,_5);};dojo.addOnLoad(function(){mService=_newElement2Body("div",{"opacity":"1"},"mService","mService");mService.innerHTML="<img class=\"previewClose\" onclick=\"javascript: fadeService(0); \" src=\"components/com_proforms/images/close.png\"></img>"+"<div id=\"mServiceContent\"></div>";});function getServiceKey(){return dojo.byId("m4jServiceKey").value;};var m4jResetKey="";function m4jEditKey(_6){_6.style.display="none";m4jResetKey=dojo.byId("m4jServiceKey").value;dojo.byId("m4jServiceKey").disabled=false;dojo.byId("m4jSaveServiceKey").style.display="";dojo.byId("m4jServiceKeyResetButton").style.display="";};function m4jResetServiceKey(_7){dojo.byId("m4jServiceKey").value=m4jResetKey;dojo.byId("m4jServiceKey").disabled="disabled";_7.style.display="none";dojo.byId("m4jSaveServiceKey").style.display="none";dojo.byId("m4jEditServiceKey").style.display="";};