//****** Advanced DHTML Popup Pro Version 2.440.0167.205.023,  Build: 160 ******

// Copyright (c) Digital Flow Software 2005-2008
// The present javascript code is property of Digital Flow Software.
// This code can only be used inside Internet/Intranet web sites located on *web servers*, as the outcome of a licensed Advanced DHTML Popup application only. 
// This code *cannot* be used inside distributable implementations (such as demos, applications or CD-based webs), unless this implementation is licensed with an "Advanced DHTML Popup License for Distributed Applications". 
// Any unauthorized use, reverse-engineering, alteration, transmission, transformation, facsimile, or copying of any means (electronic or not) is strictly prohibited and will be prosecuted.
// ***Removal of the present copyright notice is strictly prohibited***

var df,rf=false,na=navigator.userAgent,dt=document,op=(na.indexOf('Opera')!=-1),dm=(dt.getElementById)?true:false,ie5x=(dt.all&&dm),mci=(na.indexOf('Mac')!=-1);df=((ie5x||op)&&mci);decide();function decide(){if(df){return;}else{rf=true;}}
if(rf){
function initADP(){bdf=0;
// *** Begin advanced user scripting area ***
   htmlstring="<div style=\"position:absolute;top:0px;left:0px;\">&nbsp;</div><script defer language=\"Javascript\" type=\"text/javascript\">  function checkform() {   for (i=0;i<fieldstocheck.length;i++) {     if (eval(\"document.subscribeform.elements['\"+fieldstocheck[i]+\"'].type\") == \"checkbox\") {       if (document.subscribeform.elements[fieldstocheck[i]].checked) {       } else {         alert(\"Te rugăm să-ți introduci \"+fieldnames[i]);         eval(\"document.subscribeform.elements['\"+fieldstocheck[i]+\"'].focus()\");         return false;       }     }     else {       if (eval(\"document.subscribeform.elements['\"+fieldstocheck[i]+\"'].value\") == \"\") {         alert(\"Te rugăm să-ți introduci \"+fieldnames[i]);         eval(\"document.subscribeform.elements['\"+fieldstocheck[i]+\"'].focus()\");         return false;       }     }   }   for (i=0;i<groupstocheck.length;i++) {     if (!checkGroup(groupstocheck[i],groupnames[i])) {       return false;     }   }      return true; }  var fieldstocheck = new Array(); var fieldnames = new Array(); function addFieldToCheck(value,name) {   fieldstocheck[fieldstocheck.length] = value;   fieldnames[fieldnames.length] = name; } var groupstocheck = new Array(); var groupnames = new Array(); function addGroupToCheck(value,name) {   groupstocheck[groupstocheck.length] = value;   groupnames[groupnames.length] = name; }  function compareEmail() {   return (document.subscribeform.elements[\"email\"].value == document.subscribeform.elements[\"emailconfirm\"].value); } function checkGroup(name,value) {   option = -1;   for (i=0;i<document.subscribeform.elements[name].length;i++) {     if (document.subscribeform.elements[name][i].checked) {       option = i;     }   }   if (option == -1) {     alert (\"Te rugăm să-ți introduci \"+value);     return false;   }   return true; }  </script>  <center> <h4> Inscrie-te la newsletterul nostru! </h4>  <form method=post action=\"http://www.ctromania.ro/lists/?p=subscribe\" name=\"subscribeform\"><table border=0>   <tr><td><div class=\"required\">Email</div></td>   <td class=\"attributeinput\"><input type=text name=email value=\"\" size=\"20\">   <div style=\"position:absolute;top:0px;left:0px;\">&nbsp;</div><script defer language=\"Javascript\" type=\"text/javascript\">addFieldToCheck(\"email\",\"Email\");</script></td></tr><input type=hidden name=\"htmlemail\" value=\"1\"> </table> <input type=hidden name=\"makeconfirmed\" value=\"1\"> <input type=\"hidden\" name=\"list[1]\" value=\"signup\"><input type=\"hidden\" name=\"listname[1]\" value=\"Newsletter\"/><div style=\"display:none\"><input type=\"text\" name=\"VerificationCodeX\" value=\"\" size=\"20\"></div><input type=submit name=\"subscribe\" value=\"Inscrie-ma!\" onClick=\"return checkform();\">     </form> </center> <p align='justify'> Inscriindu-te gratuit la newsletterul nostru, vei primi sfaturi, informatii din domeniul IT si noutati despre serviciile noastre.</p>                "
   new adp("template14",htmlstring,"Newsletter");
   adpSlidein('template14');adpFadein('template14');
// *** End advanced user scripting area ***
}
if(window.attachEvent){window.attachEvent('onload', initADP);}else{if(typeof window.onload == 'function'){var preADP = window.onload;window.onload = function(){preADP();initADP();}}else{window.onload = initADP;}}
}

