 function PrintModeCheck(url){
   //url=document.location.href;
   if(url.indexOf('?',0)!='-1'){
         document.location.href=url+'&printmode';
   }
   else{
	document.location.href=url+'?printmode';
   }
 }

