var contarr=new Array();contarr=["Bahrain","Egypt","Iran","Iraq","Jordan","Kuwait","Oman","Qatar","Saudi Arabia","Syria","United Arab Emirates","Yemen","-----------------","Algeria","Lebanon","Libya","Morocco","Tunisia","-----------------","Canada","France","Germany","Ireland","Italy","Spain","Sweden","Switzerland","United Kingdom","USA","-----------------","Afghanistan","Albania","Andorra","Angola","Anguilla","Antigua & Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bougainville","Brazil","British Virgin Islands","Brunei","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Cape Verde","Cayman Islands","Central African Rep.","Chad","Channel Islands","Chile","China","Christmas Island","Colombia","Comoros","Congo","Cook Islands","Costa Rica","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Faeroe Islands","Falkland Islands","Fiji","Finland","French Guiana","French Polynesia","Gabon","Gambia","Georgia","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea-Bissau","Guyana","Haiti","Holy See","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Isle of Man","Ivory Coast","Jamaica","Japan","Johnston Island","Kazakhstan","Kenya","Kirghizia","Kiribati","Laos","Latvia","Lesotho","Liberia","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Midway Islands","Moldavia","Monaco","Mongolia","Montenegro","Montserrat","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","Netherlands Antilles","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue Island","Norfolk Island","North Cyprus","North Korea","Norway","Pakistan","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn Islands","Poland","Portugal","Queen Maud Land","Reunion","Romania","Ross Dependency","Russia","Rwanda","Sahara","Saint Helena","Saint Lucia","Samoa","San Marino","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","Somaliland","South Africa","South Korea","Spanish North Africa","Sri Lanka","Sudan","Suriname","Swaziland","Taiwan","Tajikistan","Tanzania","Thailand","Timor","Togo","Tokelau Islands","Tonga","Trinidad & Tobago","Turkey","Turkmenistan","Tuvalu","Uganda","Ukraine","Uruguay","Uzbekistan","Vanuatu","Vatican City State","Venezuela","Vietnam","Wake Island","Zaire","Zambia","Zimbabwe"];function congen(_1,_2){if(_1=="-----------------"){document.write("<option value=\"\">"+_1+"</option>");}else{if(_1==_2){document.write("<option value=\""+_1+"\" selected>"+_1+"</option>");}else{document.write("<option value=\""+_1+"\">"+_1+"</option>");}}}function getUserOffset(){var _3=new Date();var _4=_3.getTimezoneOffset();_4=-(_4/60);document.getElementById("offsetfieldcompany").value=_4;document.getElementById("offsetfieldindustry").value=_4;}function changealertscontrols(){var _5=document.getElementById("alertsfrequency").value;if(_5=="h"){document.getElementById("alertsfweekday").disabled=true;document.getElementById("alertsfhour").disabled=true;}else{if(_5=="d"){document.getElementById("alertsfweekday").disabled=true;document.getElementById("alertsfhour").disabled=false;}else{if(_5=="w"){document.getElementById("alertsfweekday").disabled=false;document.getElementById("alertsfhour").disabled=false;}}}getAlertsUserOffset();}function getAlertsUserOffset(){var _6=new Date();var _7=_6.getTimezoneOffset();_7=-(_7/60);document.getElementById("alertsoffsetfield").value=_7;}function getUserOffset(){var _8=new Date();var _9=_8.getTimezoneOffset();_9=-(_9/60);document.getElementById("offsetfieldcompany").value=_9;document.getElementById("offsetfieldindustry").value=_9;}function changeindustrycontrols(){var _a=document.getElementById("industryfrequency").value;if(_a=="h"){document.getElementById("industryfweekday").disabled=true;document.getElementById("industryfhour").disabled=true;}else{if(_a=="d"){document.getElementById("industryfweekday").disabled=true;document.getElementById("industryfhour").disabled=false;}else{if(_a=="w"){document.getElementById("industryfweekday").disabled=false;document.getElementById("industryfhour").disabled=false;}}}getUserOffset();}function changecompanycontrols(){var _b=document.getElementById("companyfrequency").value;if(_b=="h"){document.getElementById("companyfweekday").disabled=true;document.getElementById("companyfhour").disabled=true;}else{if(_b=="d"){document.getElementById("companyfweekday").disabled=true;document.getElementById("companyfhour").disabled=false;}else{if(_b=="w"){document.getElementById("companyfweekday").disabled=false;document.getElementById("companyfhour").disabled=false;}}}getUserOffset();}function sendSelectedAlerts(_c, _ln){var _d=document.forms[_c].elements.length;var _e="";for(i=0;i<_d;i++){if(document.forms[_c].elements[i].name=="companyid[]"){if(document.forms[_c].elements[i].checked){_e+=document.forms[_c].elements[i].value+"|";}}}var _f=document.forms[_c].elements.length;var _10="";for(i=0;i<_f;i++){if(document.forms[_c].elements[i].name=="selectedind[]"){if(document.forms[_c].elements[i].checked){_10+=document.forms[_c].elements[i].value+"|";}}}window.open("/index2.php?option=com_alerts&task=insertalerts&"+_ln+"&companyid="+_e+"&selectedind="+_10,"window","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,channelmode=no,directories=no,width=650,height=600,top=10,left=10");}function sendSelectedCompanies(_11){if(_11=="companyForm"){comStr=document.getElementById("companyid").value+"|";}else{var _12=document.forms[_11].elements.length;var _13="";for(i=0;i<_12;i++){if(document.forms[_11].elements[i].name=="companyid[]"){if(document.forms[_11].elements[i].checked){_13+=document.forms[_11].elements[i].value+"|";}}}}window.open("index2.php?option=com_alerts&task=insertcompany&companyid="+_13,"window","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,channelmode=no,directories=no,width=650,height=600,top=10,left=10");}function sendSelectedIndustries(_14){if(_14=="industryPage"){indStr=document.getElementById("selectedind").value+"|";}else{var _15=document.forms[_14].elements.length;var _16="";for(i=0;i<_15;i++){if(document.forms[_14].elements[i].name=="selectedind[]"){if(document.forms[_14].elements[i].checked){_16+=document.forms[_14].elements[i].value+"|";}}}}window.open("index2.php?option=com_alerts&task=insertindustry&selectedind="+_16,"window","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,channelmode=no,directories=no,width=650,height=600,top=10,left=10");}function populate(_17,_18,_19){var _1a=_17.value;if(_1a==""){return;}var _1b="/[$&/s]/g";var _1c=eval(_1a.replace(_1b,""));var _1d=eval("document."+_18+".industry");_1d.options.length=0;_1d.options[0]=new Option("- select","");for(i=1;i<_1c.length;i++){_1d.options[i]=new Option(_1c[i],_1c[i]);if(_19==_1c[i]){_1d.options[i].selected=true;}}}function daygen(d,_1f){if(_1f==d){document.write("<option value=\""+d+"\" selected>"+d+"</option>");}else{document.write("<option value=\""+d+"\">"+d+"</option>");}}function timegen(d,_21){if(d<10){d="0"+d;}if(_21==d){document.write("<option value=\""+d+"\" selected>"+d+"</option>");}else{document.write("<option value=\""+d+"\">"+d+"</option>");}}function jspopUp(id,tbl){window.open("vpop.php?id="+id+"&tbl="+tbl,"Info","toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=0, width=350, height=400, left = 300, top = 200");}function popSite(_24){window.open(_24);}var m=new Array();m[1]="January";m[2]="February";m[3]="March";m[4]="April";m[5]="May";m[6]="June";m[7]="July";m[8]="August";m[9]="September";m[10]="October";m[11]="November";m[12]="December";function monthgen(mon,cr){if(cr==mon){document.write("<option value=\""+mon+"\" selected>"+m[mon]+"</option>");}else{document.write("<option value=\""+mon+"\">"+m[mon]+"</option>");}}function goback(){window.history.go(-1);}function moveOver(frm,fld){var _29=eval("document."+frm+".choiceBox.length");var _2a=eval("document."+frm+"."+fld+".selectedIndex");var _2b=eval("document."+frm+"."+fld+".options[selectedItem].text");var _2c=eval("document."+frm+"."+fld+".options[selectedItem].value");var i;var _2e=true;if(_29!=0){for(i=0;i<_29;i++){thisitem=eval("document."+frm+".choiceBox.options[i].text");if(thisitem==_2b){_2e=false;break;}}}if(_2e){newoption=new Option(_2b,_2c,false,false);document.modarticle.choiceBox.options[_29]=newoption;}var s2=eval("document."+frm+"."+fld+".selectedIndex");s2=-1;vendselect=saveMe(frm);}function removeMe(frm){var _31=eval("document."+frm+".choiceBox.length");arrSelected=new Array();var _32=0;for(i=0;i<_31;i++){if(eval("document."+frm+".choiceBox.options[i].selected")){arrSelected[_32]=eval("document."+frm+".choiceBox.options[i].value");}_32++;}var x;for(i=0;i<_31;i++){for(x=0;x<arrSelected.length;x++){if(eval("document."+frm+".choiceBox.options[i].value")==arrSelected[x]){document.modarticle.choiceBox.options[i]=null;}}_31=eval("document."+frm+".choiceBox.length");}vendselect=saveMe(frm);}function saveMe(frm){var _35="|";var _36=eval("document."+frm+".choiceBox.length");var _37=0;if(_36!=0){for(i=0;i<_36;i++){_35=_35+eval("document."+frm+".choiceBox.options[i].value")+"|";_37++;}}if(_35.length==0){}else{}document.modarticle.reference.value=_35;document.modarticle.chkact.value="1";}function setEPFormOpt(){wForm=document.srh_frm1;onList=wForm.stopt;offList=wForm.cat;if(offList.options[offList.selectedIndex].value==""&&onList.options[onList.selectedIndex].value!=""){document.getElementById("srchOpts").style.visibility="visible";}else{document.getElementById("srchOpts").style.visibility="hidden";}}function moveOver2(frm,fld){var _3a=eval("document."+frm+".choiceBox2.length");var _3b=eval("document."+frm+"."+fld+".selectedIndex");var _3c=eval("document."+frm+"."+fld+".options[selectedItem].text");var _3d=eval("document."+frm+"."+fld+".options[selectedItem].value");var i;var _3f=true;if(_3a!=0){for(i=0;i<_3a;i++){thisitem=eval("document."+frm+".choiceBox2.options[i].text");if(thisitem==_3c){_3f=false;break;}}}if(_3f){newoption=new Option(_3c,_3d,false,false);document.modarticle.choiceBox2.options[_3a]=newoption;}var s2=eval("document."+frm+"."+fld+".selectedIndex");s2=-1;vendselect2=saveMe2(frm);}function removeMe2(frm){var _42=eval("document."+frm+".choiceBox2.length");arrSelected=new Array();var _43=0;for(i=0;i<_42;i++){if(eval("document."+frm+".choiceBox2.options[i].selected")){arrSelected[_43]=eval("document."+frm+".choiceBox2.options[i].value");}_43++;}var x;for(i=0;i<_42;i++){for(x=0;x<arrSelected.length;x++){if(eval("document."+frm+".choiceBox2.options[i].value")==arrSelected[x]){document.modarticle.choiceBox2.options[i]=null;}}_42=eval("document."+frm+".choiceBox2.length");}vendselect2=saveMe2(frm);}function saveMe2(frm){var _46="|";var _47=eval("document."+frm+".choiceBox2.length");var _48=0;if(_47!=0){for(i=0;i<_47;i++){_46=_46+eval("document."+frm+".choiceBox2.options[i].value")+"|";_48++;}}if(_46.length==0){}else{}document.modarticle.reference2.value=_46;document.modarticle.chkact2.value="1";}function findCenter(_49){var _4a=screen.width/2-_49/2;return _4a;}function findMiddle(_4b){var top=screen.height/2-_4b/2;return top;}function jspopup2(_4d){var _4e=400;var _4f=400;var _50=findCenter(_4e);var _51=findMiddle(_4f);window.open("http://www.gitextimes.com/exhibitors/vpop.php?ccode="+_4d+"&cat=d","VendorInfo","toolbars=0,scrollbars=1,location=0,statusbars=0,menubars=0,resizable=0,width="+_4e+",height="+_4f+",left="+_50+",top="+_51);}
