function cl(){
 close();
}
function openWin(type,w,h,url){
 if(type == 1 || type == 2){
 var myWin = open("loader.html", "displayWindow", "width="+w+",height="+h+",status=no,toolbar=no,menubar=no");
 myWin.out = '<img src="'+url+'" onClick="cl()">';
 }
 if(type == 2){
 window.print();
 }
}
