function CheckIsIE()
{
if (navigator.appName.toUpperCase() == 'MICROSOFT INTERNET EXPLORER') { return true;}
else { return false; }
}


function PrintCoupon(img, id)
{
   if (CheckIsIE() == true)
   {
   document[id].focus();
   document[id].print();
   }
   else
   {
   window.frames[id].focus();
   window.frames[id].print();
   window.stop();
   }
}