function openpopup(page,width,height) { var theURL = page; var winName = 'popup'; var features = 'scrollbars=yes'; var myWidth = width; var myHeight = height; var isCenter = 'true'; if(window.screen)if(isCenter)if(isCenter=="true"){ var myLeft = (screen.width-myWidth)/2; var myTop = (screen.height-myHeight)/2; features+=(features!='')?',':''; features+=',left='+myLeft+',top='+myTop; } window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight); } function gotoPay(lang, payment, speditor, o, c, a, b) { if (b == 'K') { top.location.href = 'https://secure.webbhuset.com/projectorlamp/'+lang+'_'+payment+'.php?o='+o+'&c='+c+'&s='+speditor+'&a='+a; } else { top.location.href = 'sendorder.php?c=' + c + '&o=' + o; } }