/* Crestor.info additional JS functions */ //define the message for the exit ramp exitMessage='Thank you for visiting Crestor.info.\nYou are now leaving this site to visit other websites for which AstraZeneca is not responsible.'; function attachPopup(){ if(document.getElementById){ riskLink=document.getElementById('risk_calculator'); if(riskLink){ riskLink.onclick=function(){ return popUpWindow(riskLink.href,'calculator','no',450,'no','no','no',100,400,'yes','no','no','yes',520)}; } } } var toCall=new Array; toCall[0]=attachPopup;