
				<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function checkit(a,b,c) {
if(b==null){
message="确定要删除这些资料吗！"
}else{
message=b
}

if(c==null)
{
c="请您选择好产品后再进行操作，谢谢！";
}
if(a==2){

document.cdocument.action="orders.aspx";
}
	check=true;
		if (a==2||a==7||a==10){
	document.cdocument.submitvol.value=a;
	document.cdocument.submit();
				check=false;
				
				}
for(var i=0;i<document.cdocument.delid.length;i++){
    if (document.cdocument.delid[i].checked) {
		if (a=="5"){
			if (confirm(message)){
				document.cdocument.submitvol.value=a;
				check=false;
				document.cdocument.submit();
				break;
				}else{
				check=false;
				break;}
			
			}else{
				document.cdocument.submitvol.value=a;
				document.cdocument.submit();
			}
		check=false;

		}	
}
if (document.cdocument.delid.checked){
		if (a=="5"){
			if (confirm(message)){
				document.cdocument.submitvol.value=a;
				document.cdocument.submit();
				}
			}else{
				document.cdocument.submitvol.value=a;
				document.cdocument.submit();
			}
		check=false;

		}	
	
if (check){
alert(c);
}
}

function CheckAll(){
for(var i=0;i<document.cdocument.elements.length;i++){
var e=document.cdocument.elements[i];
if(e.name!='chkAll') e.checked=document.cdocument.chkAll.checked;
}
}


function DrawImage(ImgD,w,h){
   var image=new Image();
   image.src=ImgD.src;
   if(image.width>0 && image.height>0){
    flag=true;
    if(image.width/image.height>= w/h){
     if(image.width>w){  
     ImgD.width=w;
     ImgD.height=(image.height*w)/image.width;
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }
     ImgD.alt=image.width+"×"+image.height;
     }
    else{
     if(image.height>h){  
     ImgD.height=h;
     ImgD.width=(image.width*h)/image.height;     
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }
     ImgD.alt=image.width+"×"+image.height;
     }
    }
   /*else{
    ImgD.src="";
    ImgD.alt=""
    }*/
   } 



//-->























