function open_discount_popup(target,window_name ,width, height)
{
 var WindowName=window_name.replace(' ','_');
 var windowFeatures = 'width=' + width
                       + ',height=' + height
                       + ',resizable=0,scrollbars=0,top=10,left=10,screenX=0,screenY=0';
 var win = window.open(target, WindowName, windowFeatures);
 if (window.focus){
   win.focus();
 }
}