function test() { alert('test'); } function OpenOrdrPrsnttn(url) { return WindowOpen(url,'OrderingPresentation',750,520); } function WindowOpen(url) { var windowname = arguments[1] ? arguments[1] : '_blank'; var opt = ''; var p=''; if (arguments[2]) { opt += p+'width='+arguments[2]; p=','; } if (arguments[3]) { opt += p+'height='+arguments[3]; p=','; } opt += p+'toolbar='+(arguments[4] ? arguments[1] : 'no'); p=','; opt += ',location='+(arguments[5] ? arguments[5] : 'no'); opt += ',directories='+(arguments[6] ? arguments[6] : 'no'); opt += ',status='+(arguments[7] ? arguments[7] : 'no'); opt += ',menubar='+(arguments[8] ? arguments[8] : 'no'); opt += ',scrollbars='+arguments[9] ? arguments[9] : 'yes'; opt += ',resizable='+arguments[10] ? arguments[10] : 'yes'; opt += ',copyhistory'+arguments[11] ? arguments[11] : 'no'; // opt += arguments[] ? arguments[] : 'no'; // opt += arguments[] ? arguments[] : 'no'; return window.open(url,windowname,opt); } function mouse_ctrl(nullz,nully) { return; } function WOpen(name,url,w,h,s,r) { return(window.open(url,name,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+s+",resizable="+r+",fullscreen=no,channelmode=no,width="+w+",height="+h)); } var ImageZoomWindow = null; function ImageZoom( image_url, title, width, height ) { //alert( ImageZoomWindow ); if( ImageZoomWindow == "[object Window]" || ImageZoomWindow == "[object]" ) ImageZoomWindow.close(); ImageZoomWindow = window.open('','ImageZoom','status=no,scrollbars=no,width='+(width+20)+',height='+(height+20)+',left=20,top=20'); code = ""; code += ""; code += ""+title+""; code += ""; code += ""; code += ""; code += ""; code += ""; code += ""; code += "
"; code += "
"; code += "
"; code += ""; code += ""; ImageZoomWindow.document.write(code); } function Title( params ) { var flashvars = ""; var border = 0; var params_array = params.split("|"); for( var param_no = 0; param_no < params_array.length; param_no++ ) { var tmp = params_array[param_no].split("="); if( tmp[0] == "t1" ) { var t1 = tmp[1]; flashvars += "&t1="+t1; } if( tmp[0] == "t2" ) { var t2 = tmp[1]; flashvars += "&t2="+t2; } if( tmp[0] == "w" ) { var w = tmp[1]; flashvars += "&w="+w; } if( tmp[0] == "h" ) { var h = tmp[1]; flashvars += "&h="+h; } if( tmp[0] == "border" ) border = tmp[1]; } if ( !w || w == "" || w == 0 ) { var w = 400; flashvars += "&w="+w; } if ( !h || h == "" || h == 0 ) { var h = 55; flashvars += "&h="+h; } var code = ""; code += '
\n'; code += ''; code += ''; code += ''; code += ''; code += ''; code += ''; code += ''; code += ''; code += ''; code += ''; code += '\n'; code += '
\n'; document.write(code); }