var http_request=false;function CallServerForMake(e,h,f){if(window.XMLHttpRequest){http_request=new XMLHttpRequest();if(http_request.overrideMimeType){http_request.overrideMimeType("text/xml")}}else{if(window.ActiveXObject){try{http_request=new ActiveXObject("Msxml2.XMLHTTP")}catch(g){try{http_request=new ActiveXObject("Microsoft.XMLHTTP")}catch(g){}}}}if(f=="IE"){http_request.open("POST",e,false)}else{http_request.open("GET",e,false)}http_request.send(null);return CheckFunctionStatus()}function RedirectToMakePage(h,e,f){var g=h.options[h.selectedIndex].text;return CallServerForMake(e+"web/Ajax/MakeListAjax.aspx?MakeName="+g,CheckFunctionStatus,f)}function CheckFunctionStatus(){if(http_request.readyState==4){if(http_request.status==200){var b=http_request.responseText;return b}}};function RedirectToMake(h,e,g){var f=e.value;if(f!="0"){location.href=RedirectToMakePage(e,h,g)}};function open_window(n){var h=navigator.appName.toLowerCase();var m=600;var i=700;var k=(screen.width-m)/2;var l=(screen.height-i)/2;var j="width="+m+", height="+i;j+=", top="+l+", left="+k;if(h=="Microsoft Internet Explorer".toLowerCase()){newwin=window.open(n,"welcome",j+",status=yes,scrollbars=yes,resizable=yes");return false}else{window.open(n,"welcome",j+",status=1,scrollbars=1,resizable=1");return false}return false};