excludeUrls = Array(
'http://web.archive.org/web/20100821151859/http://cws.huginonline.com',
'http://web.archive.org/web/20100821151859/http://dominoext.novartis.com',
'http://web.archive.org/web/20100821151859/http://download.macromedia.com',
'http://web.archive.org/web/20100821151859/http://etrials.novartis.com',
'http://web.archive.org/web/20100821151859/http://gaia.world-television.com',
'http://web.archive.org/web/20100821151859/http://hugin.info',
'http://web.archive.org/web/20100821151859/http://infra.novartis.com',
'http://web.archive.org/web/20100821151859/http://ir2.flife.de',
'http://web.archive.org/web/20100821151859/http://mfile.akamai.com',
'http://web.archive.org/web/20100821151859/http://nibr.novartis.com',
'http://web.archive.org/web/20100821151859/http://novcont05.eu.novartis.net',
'http://web.archive.org/web/20100821151859/http://qsm3.asp.quartal.com',
'http://web.archive.org/web/20100821151859/http://search.novartis.com',
'http://web.archive.org/web/20100821151859/http://services.choruscall.com',
'http://web.archive.org/web/20100821151859/http://streamstudio.unit.net',
'http://web.archive.org/web/20100821151859/http://streamstudio.world-television.com',
'http://web.archive.org/web/20100821151859/http://tyzeka.com',
'http://web.archive.org/web/20100821151859/http://web.gnf.org',
'http://web.archive.org/web/20100821151859/http://www.acromegalyinfo.com',
'http://web.archive.org/web/20100821151859/http://www.adhdinfo.com',
'http://web.archive.org/web/20100821151859/http://www.adhdinfo.com',
'http://web.archive.org/web/20100821151859/http://www.afinitor.com',
'http://web.archive.org/web/20100821151859/http://www.ah.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.alzheimersdisease.com',
'http://web.archive.org/web/20100821151859/http://www.ar.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.aredia.net',
'http://web.archive.org/web/20100821151859/http://www.askaboutiron.com',
'http://web.archive.org/web/20100821151859/http://www.at.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.benefiber.com',
'http://web.archive.org/web/20100821151859/http://www.betterbonehealth.com',
'http://web.archive.org/web/20100821151859/http://www.blt.ch',
'http://web.archive.org/web/20100821151859/http://www.bpsuccesszone.com',
'http://web.archive.org/web/20100821151859/http://www.carcinoid.com',
'http://web.archive.org/web/20100821151859/http://www.chiron.com',
'http://web.archive.org/web/20100821151859/http://www.cibavision.com',
'http://web.archive.org/web/20100821151859/http://www.clozaril.com',
'http://web.archive.org/web/20100821151859/http://www.coartem.com',
'http://web.archive.org/web/20100821151859/http://www.combipatch.com',
'http://web.archive.org/web/20100821151859/http://www.comtan.com',
'http://web.archive.org/web/20100821151859/http://www.consumer-health.se.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.consumerhealth.eg.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.corporate-ir.net',
'http://web.archive.org/web/20100821151859/http://www.corporatecitizenship.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.cubicin.com',
'http://web.archive.org/web/20100821151859/http://www.denavir.com',
'http://web.archive.org/web/20100821151859/http://www.deramaxx.novartis.us',
'http://web.archive.org/web/20100821151859/http://www.desferal.com',
'http://web.archive.org/web/20100821151859/http://www.diovan.com',
'http://web.archive.org/web/20100821151859/http://www.diovan.info',
'http://web.archive.org/web/20100821151859/http://www.elidel.com',
'http://web.archive.org/web/20100821151859/http://www.enablex.com',
'http://web.archive.org/web/20100821151859/http://www.epilepsybillofrights.com',
'http://web.archive.org/web/20100821151859/http://www.estraderm.com',
'http://web.archive.org/web/20100821151859/http://www.estradot.com',
'http://web.archive.org/web/20100821151859/http://www.excedrin.com',
'http://web.archive.org/web/20100821151859/http://www.exelon.com',
'http://web.archive.org/web/20100821151859/http://www.exelonpatch.com',
'http://web.archive.org/web/20100821151859/http://www.exforge.com',
'http://web.archive.org/web/20100821151859/http://www.exjade.com',
'http://web.archive.org/web/20100821151859/http://www.famvir.com',
'http://web.archive.org/web/20100821151859/http://www.femara.com',
'http://web.archive.org/web/20100821151859/http://www.femarainfo.com',
'http://web.archive.org/web/20100821151859/http://www.fenistil.ch',
'http://web.archive.org/web/20100821151859/http://www.flea-info.com',
'http://web.archive.org/web/20100821151859/http://www.flycontrol.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.fmi.ch',
'http://web.archive.org/web/20100821151859/http://www.focalinxr.com',
'http://web.archive.org/web/20100821151859/http://www.foradil.com',
'http://web.archive.org/web/20100821151859/http://www.foradil.us',
'http://web.archive.org/web/20100821151859/http://www.fungalnailinfection.com',
'http://web.archive.org/web/20100821151859/http://www.gas-x.com',
'http://web.archive.org/web/20100821151859/http://www.genitalherpes.com',
'http://web.archive.org/web/20100821151859/http://www.gerber.com',
'http://web.archive.org/web/20100821151859/http://www.gleevec.com',
'http://web.archive.org/web/20100821151859/http://www.glivec.com',
'http://web.archive.org/web/20100821151859/http://www.global-hr.orientation.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.habitrol.com',
'http://web.archive.org/web/20100821151859/http://www.hk.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.hu.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.hugin.info',
'http://web.archive.org/web/20100821151859/http://www.id.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.in.pharma.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.international.myeczema.com',
'http://web.archive.org/web/20100821151859/http://www.jubilaeumsstiftung.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.kerilotion.com',
'http://web.archive.org/web/20100821151859/http://www.lamisil.com',
'http://web.archive.org/web/20100821151859/http://www.lamisilat.com',
'http://web.archive.org/web/20100821151859/http://www.lamisilk.com',
'http://web.archive.org/web/20100821151859/http://www.lescolxl.com',
'http://web.archive.org/web/20100821151859/http://www.locations.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.lotrel.com',
'http://web.archive.org/web/20100821151859/http://www.maaloxus.com',
'http://web.archive.org/web/20100821151859/http://www.malariaandhealth.com',
'http://web.archive.org/web/20100821151859/http://www.mea.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.medportica.com',
'http://web.archive.org/web/20100821151859/http://www.miacalcin.com',
'http://web.archive.org/web/20100821151859/http://www.msandaction.com',
'http://web.archive.org/web/20100821151859/http://www.mycongresses.com',
'http://web.archive.org/web/20100821151859/http://www.myfortic.com',
'http://web.archive.org/web/20100821151859/http://www.nibr.com',
'http://web.archive.org/web/20100821151859/http://www.nibr.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.nicotinell.com',
'http://web.archive.org/web/20100821151859/http://www.nightanddaycontacts.com',
'http://web.archive.org/web/20100821151859/http://www.nitd.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.novartis-consumer-health.ch',
'http://web.archive.org/web/20100821151859/http://www.novartis-consumerhealth.de',
'http://web.archive.org/web/20100821151859/http://www.novartis-recruiting.com:8080',
'http://web.archive.org/web/20100821151859/http://www.novartis-transplant.com',
'http://web.archive.org/web/20100821151859/http://www.novartis-vaccines.com',
'http://web.archive.org/web/20100821151859/http://www.novartis-venturefunds.com',
'http://web.archive.org/web/20100821151859/http://www.novartis.at',
'http://web.archive.org/web/20100821151859/http://www.novartis.be',
'http://web.archive.org/web/20100821151859/http://www.novartis.ca',
'http://web.archive.org/web/20100821151859/http://www.novartis.ch',
'http://web.archive.org/web/20100821151859/http://www.novartis.co.jp',
'http://web.archive.org/web/20100821151859/http://www.novartis.co.kr',
'http://web.archive.org/web/20100821151859/http://www.novartis.co.uk',
'http://web.archive.org/web/20100821151859/http://www.novartis.com.au',
'http://web.archive.org/web/20100821151859/http://www.novartis.com.br',
'http://web.archive.org/web/20100821151859/http://www.novartis.com.cn',
'http://web.archive.org/web/20100821151859/http://www.novartis.com.co',
'http://web.archive.org/web/20100821151859/http://www.novartis.com.mx',
'http://web.archive.org/web/20100821151859/http://www.novartis.com.tr',
'http://web.archive.org/web/20100821151859/http://www.novartis.com',
'http://web.archive.org/web/20100821151859/http://www1.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.novartis.cz',
'http://web.archive.org/web/20100821151859/http://www.novartis.de',
'http://web.archive.org/web/20100821151859/http://www.novartis.dk',
'http://web.archive.org/web/20100821151859/http://www.novartis.es',
'http://web.archive.org/web/20100821151859/http://www.novartis.fi',
'http://web.archive.org/web/20100821151859/http://www.novartis.fr',
'http://web.archive.org/web/20100821151859/http://www.novartis.gr',
'http://web.archive.org/web/20100821151859/http://www.novartis.is',
'http://web.archive.org/web/20100821151859/http://www.novartis.it',
'http://web.archive.org/web/20100821151859/http://www.novartis.nl',
'http://web.archive.org/web/20100821151859/http://www.novartis.no',
'http://web.archive.org/web/20100821151859/http://www.novartis.pl',
'http://web.archive.org/web/20100821151859/http://www.novartis.ru',
'http://web.archive.org/web/20100821151859/http://www.novartis.se',
'http://web.archive.org/web/20100821151859/http://www.novartisclinicaltrials.com',
'http://web.archive.org/web/20100821151859/http://www.novartisconsumerhealth.ca',
'http://web.archive.org/web/20100821151859/http://www.novartisconsumerhealth.es',
'http://web.archive.org/web/20100821151859/http://www.novartisconsumerhealth.nl',
'http://web.archive.org/web/20100821151859/http://www.novartisfound.org.uk',
'http://web.archive.org/web/20100821151859/http://www.novartisfoundation.com',
'http://web.archive.org/web/20100821151859/http://www.novartisfoundation.org',
'http://web.archive.org/web/20100821151859/http://www.novartisnutrition.com',
'http://web.archive.org/web/20100821151859/http://www.novartisoncology.com',
'http://web.archive.org/web/20100821151859/http://www.novartisoncology.us',
'http://web.archive.org/web/20100821151859/http://www.novartisophthalmics.com',
'http://web.archive.org/web/20100821151859/http://www.novartisvaccines.com',
'http://web.archive.org/web/20100821151859/http://www.novctrd.com',
'http://web.archive.org/web/20100821151859/http://www.o2optix.com',
'http://web.archive.org/web/20100821151859/http://www.onsior.com',
'http://web.archive.org/web/20100821151859/http://www.pamidronate.com',
'http://web.archive.org/web/20100821151859/http://www.patientassistancenow.com',
'http://web.archive.org/web/20100821151859/http://www.petwellness.com',
'http://web.archive.org/web/20100821151859/http://www.pharma.us.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.prexige.com',
'http://web.archive.org/web/20100821151859/http://www.prodiem.ca',
'http://web.archive.org/web/20100821151859/http://www.proleukin.com',
'http://web.archive.org/web/20100821151859/http://www.reclast.com',
'http://web.archive.org/web/20100821151859/http://www.rescula.com',
'http://web.archive.org/web/20100821151859/http://www.ribbonofpink.com',
'http://web.archive.org/web/20100821151859/http://www.ritalin.com',
'http://web.archive.org/web/20100821151859/http://www.sandostatin.com',
'http://web.archive.org/web/20100821151859/http://www.sandoz.com',
'http://web.archive.org/web/20100821151859/http://www.shingles.com',
'http://web.archive.org/web/20100821151859/http://www.stalevo.com',
'http://web.archive.org/web/20100821151859/http://www.starlix.com',
'http://web.archive.org/web/20100821151859/http://www.supplier.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.tasigna.com',
'http://web.archive.org/web/20100821151859/http://www.tbdots.com',
'http://web.archive.org/web/20100821151859/http://www.tekturna.com',
'http://web.archive.org/web/20100821151859/http://www.theraflu.com',
'http://web.archive.org/web/20100821151859/http://www.thomson-webcast.net',
'http://web.archive.org/web/20100821151859/http://www.thrive2quit.com',
'http://web.archive.org/web/20100821151859/http://www.tiamutin.com',
'http://web.archive.org/web/20100821151859/http://www.tobitime.com',
'http://web.archive.org/web/20100821151859/http://www.transdermscop.com',
'http://web.archive.org/web/20100821151859/http://www.transplantsquare.com',
'http://web.archive.org/web/20100821151859/http://www.triaminic.com',
'http://web.archive.org/web/20100821151859/http://www.trileptal.com',
'http://web.archive.org/web/20100821151859/http://www.us.exjade.com',
'http://web.archive.org/web/20100821151859/http://www.us.cibavision.com',
'http://web.archive.org/web/20100821151859/http://www.us.gleevec.com',
'http://web.archive.org/web/20100821151859/http://www.us.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.us.novartisoncology.com',
'http://web.archive.org/web/20100821151859/http://www.us.novartisophthalmics.com',
'http://web.archive.org/web/20100821151859/http://www.us.sandostatin.com',
'http://web.archive.org/web/20100821151859/http://www.us.tasigna.com',
'http://web.archive.org/web/20100821151859/http://www.us.trileptal.com',
'http://web.archive.org/web/20100821151859/http://www.us.zometa.com',
'http://web.archive.org/web/20100821151859/http://www.venturefund.novartis.com',
'http://web.archive.org/web/20100821151859/http://www.visudyne.com',
'http://web.archive.org/web/20100821151859/http://www.vivelledot.com',
'http://web.archive.org/web/20100821151859/http://www.voltaren.co.za',
'http://web.archive.org/web/20100821151859/http://www.xolair.com',
'http://web.archive.org/web/20100821151859/http://www.zaditor.com',
'http://web.archive.org/web/20100821151859/http://www.zelmac.ch',
'http://web.archive.org/web/20100821151859/http://www.zelnorm.com',
'http://web.archive.org/web/20100821151859/http://www.zometa.com',
'http://web.archive.org/web/20100821151859/https://services.choruscall.eu'
);
var pipeline_activeDet = null;
function pipeline_showDet(det_name){
if(document.getElementById){
if(pipeline_activeDet){
pipeline_hideDet(pipeline_activeDet);
}
det = document.getElementById(det_name);
pipeline_activeDet = det_name;
det.style.display = 'block';
}
}
function pipeline_hideDet(det_name){
if(document.getElementById){
if(det_name){
det = document.getElementById(det_name);
}else if(pipeline_activeDet){
det = document.getElementById(pipeline_activeDet);
pipeline_activeDet = null;
}
if(det){
det.style.display = 'none';
}
}
}
function setPAP(name){
if(document.getElementById){
var obj = document.getElementById(name);
if(obj){
if(name.indexOf('3-3-1B') == 0){
common = document.getElementById('3-3-1B');
}else if(name.indexOf('CNS-ENROLL') == 0){
common = document.getElementById('CNS-ENROLL');
}else if(name.indexOf('CLO-ENROLL') == 0){
common = document.getElementById('CLO-ENROLL');
}else if(name.indexOf('3-3-1C') == 0){
common = document.getElementById('3-3-1C');
}else if(name.indexOf('3-3-1D') == 0){
common = document.getElementById('3-3-1D');
}else if(name.indexOf('3-3-1E') == 0){
common = document.getElementById('3-3-1E');
}else if(name.indexOf('3-3-1F') == 0){
common = document.getElementById('3-3-1F');
}else if(name.indexOf('OPTH-ENROLL') == 0){
common = document.getElementById('OPTH-ENROLL');
}else if(name.indexOf('3-3-1G') == 0){
common = document.getElementById('3-3-1G');
}else if(name.indexOf('3-3-1H') == 0){
common = document.getElementById('3-3-1H');
}else if(name.indexOf('3-3-1I') == 0){
common = document.getElementById('3-3-1I');
}
container = document.getElementById('main-prod');
container.innerHTML = obj.innerHTML;
if(common){
container.innerHTML += common.innerHTML;
}
}
}
}
function setPAPDefault(){
var query = location.search.substring(1);
var pairs = query.split('&');
var id = null;
for (var i=0; i < pairs.length; i++)
{
values = pairs[i].split('=');
if(values[0] == 'program'){
id = values[1];
}
}
if(id){
setPAP(id);
document.getElementById('program').value = id;
}
}
function setOtherField(name, value, other_value){
if(value == other_value){
show(name+'-label');
show(name+'-field');
}else{
hide(name+'-label');
hide(name+'-field');
}
}
function show(name){
if(document.getElementById){
obj = document.getElementById(name);
obj.style.display = 'block';
}
}
function hide(name){
if(document.getElementById){
obj = document.getElementById(name);
obj.style.display = 'none';
}
}
function openPI(pi)
{
piWin = window.open(pi, '_blank', 'scrollbars=yes,resizable=yes,height=600,width=600');
piWin.focus();
}
// ADDED 07/08
{
print0=new Image();
print0.src="/images/common/icon-print-off.gif";
print1=new Image();
print1.src="/images/common/icon-print-on.gif";
tell0=new Image();
tell0.src="/images/common/icon-tell-off.gif";
tell1=new Image();
tell1.src="/images/common/icon-tell-on.gif";
}
function imgOn(imgName) {
if (document.getElementById) {
document.getElementById(imgName).src = eval(imgName + '1.src');
}
}
function imgOff(imgName) {
if (document.getElementById) {
document.getElementById(imgName).src = eval(imgName + '0.src');
}
}
function showHideMenu(menuId) {
if (document.getElementById) {
if (document.getElementById('menu' + menuId).style.display != 'block') {
document.getElementById('menu' + menuId).style.display = 'block';
document.getElementById('menu-item' + menuId).className = 'open';
}
else {
document.getElementById('menu' + menuId).style.display = 'none';
document.getElementById('menu-item' + menuId).className = 'closed';
}
}
}
function expandMenus() {
if (document.getElementById) {
document.getElementById('menu1').style.display = 'block';
document.getElementById('menu2').style.display = 'block';
document.getElementById('menu3').style.display = 'block';
document.getElementById('menu4').style.display = 'block';
document.getElementById('menu5').style.display = 'block';
document.getElementById('menu6').style.display = 'block';
document.getElementById('menu7').style.display = 'block';
document.getElementById('menu8').style.display = 'block';
document.getElementById('menu9').style.display = 'block';
document.getElementById('menu10').style.display = 'block';
document.getElementById('menu-item1').className = 'open';
document.getElementById('menu-item2').className = 'open';
document.getElementById('menu-item3').className = 'open';
document.getElementById('menu-item4').className = 'open';
document.getElementById('menu-item5').className = 'open';
document.getElementById('menu-item6').className = 'open';
document.getElementById('menu-item7').className = 'open';
document.getElementById('menu-item8').className = 'open';
document.getElementById('menu-item9').className = 'open';
document.getElementById('menu-item10').className = 'open';
}
}
function collapseMenus() {
if (document.getElementById) {
document.getElementById('menu1').style.display = 'none';
document.getElementById('menu2').style.display = 'none';
document.getElementById('menu3').style.display = 'none';
document.getElementById('menu4').style.display = 'none';
document.getElementById('menu5').style.display = 'none';
document.getElementById('menu6').style.display = 'none';
document.getElementById('menu7').style.display = 'none';
document.getElementById('menu8').style.display = 'none';
document.getElementById('menu9').style.display = 'none';
document.getElementById('menu10').style.display = 'none';
document.getElementById('menu-item1').className = 'closed';
document.getElementById('menu-item2').className = 'closed';
document.getElementById('menu-item3').className = 'closed';
document.getElementById('menu-item4').className = 'closed';
document.getElementById('menu-item5').className = 'closed';
document.getElementById('menu-item6').className = 'closed';
document.getElementById('menu-item7').className = 'closed';
document.getElementById('menu-item8').className = 'closed';
document.getElementById('menu-item9').className = 'closed';
document.getElementById('menu-item10').className = 'closed';
}
}
function showHideERG(ergID) {
if (document.getElementById) {
for (i = 1; i <= 13; i++) {
if ('erg' + ergID == 'erg' + i) {
document.getElementById('erg' + i).style.display = 'block';
}
else {
document.getElementById('erg' + i).style.display = 'none';
}
}
}
}
function closeERG(ergID) {
if (document.getElementById) {
document.getElementById('erg' + ergID).style.display = 'none';
}
}
function showMsg(msgID) {
if (document.getElementById) {
document.getElementById(msgID).style.display = 'block';
}
}
function closeMsg(msgID) {
if (document.getElementById) {
document.getElementById(msgID).style.display = 'none';
}
}
function getHomeFlash() {
document.write('');
}
function getSRFlash() {
document.write('');
}
function getDRFlash() {
document.write('');
}
function getChampionsFlash() {
document.write('');
}
function getDIFlash() {
document.write('');
}
/* Overlayer functions */
function getPageScroll(){
var scrolly = typeof window.pageYOffset != 'undefined' ? window.pageYOffset : document.documentElement.scrollTop;
var scrollx = typeof window.pageXOffset != 'undefined' ? window.pageXOffset : document.documentElement.scrollLeft;
var arrayScroll = new Array(scrollx, scrolly);
return arrayScroll;
}
function getPageSize() {
var xScroll, yScroll;
if (window.innerHeight && window.scrollMaxY) {
xScroll = window.innerWidth + window.scrollMaxX;
yScroll = window.innerHeight + window.scrollMaxY;
} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
xScroll = document.body.scrollWidth;
yScroll = document.body.scrollHeight;
} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
xScroll = document.body.offsetWidth;
yScroll = document.body.offsetHeight;
}
var windowWidth, windowHeight;
if (self.innerHeight) { // all except Explorer
if(document.documentElement.clientWidth){
windowWidth = document.documentElement.clientWidth;
} else {
windowWidth = self.innerWidth;
}
windowHeight = self.innerHeight;
} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
windowWidth = document.documentElement.clientWidth;
windowHeight = document.documentElement.clientHeight;
} else if (document.body) { // other Explorers
windowWidth = document.body.clientWidth;
windowHeight = document.body.clientHeight;
}
// for small pages with total height less then height of the viewport
if(yScroll < windowHeight){
pageHeight = windowHeight;
} else {
pageHeight = yScroll;
}
// for small pages with total width less then width of the viewport
if(xScroll < windowWidth){
pageWidth = xScroll;
} else {
pageWidth = windowWidth;
}
arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight)
return arrayPageSize;
}
/*function showOverlayer(){
var size = getPageSize();
var scroll = getPageScroll();
var obg = document.getElementById('page-bg');
obg.style.width = size[0]+'px';
obg.style.height = size[1]+'px';
var ovr = document.getElementById('overlayer');
obg.style.display = 'block';
ovr.style.display = 'block';
}
function hideOverlayer(){
var obg = document.getElementById('page-bg');
var ovr = document.getElementById('overlayer');
obg.style.display = 'none';
ovr.style.display = 'none';
}*/
function showOverlayer() {
if (document.getElementById) {
document.getElementById('overlayer').style.display = 'block';
}
}
function hideOverlayer() {
if (document.getElementById) {
document.getElementById('overlayer').style.display = 'none';
}
}
{
clearform0=new Image();
clearform0.src="/images/common/icon-clear-form-off.gif";
clearform1=new Image();
clearform1.src="/images/common/icon-clear-form-on.gif";
send0=new Image();
send0.src="/images/common/icon-send-off.gif";
send1=new Image();
send1.src="/images/common/icon-send-on.gif";
}
function imgOn(imgName) {
if (document.getElementById) {
document.getElementById(imgName).src = eval(imgName + '1.src');
}
}
function imgOff(imgName) {
if (document.getElementById) {
document.getElementById(imgName).src = eval(imgName + '0.src');
}
}
function selThera(Url) {
Url=document.prods.thera[document.prods.thera.selectedIndex].value;
document.location = Url;
}
function selPname(Url) {
Url=document.prods2.pname[document.prods2.pname.selectedIndex].value;
document.location = Url;
}
function showHideMenuRemote() {
var query = document.location.search.substring(1);
var pairs = query.split();
var values;
var url;
for (var i=0; i < pairs.length; i++)
{
values = pairs[i].split();
url = values[0].substring(0,values[0].length);
}
if (url == 'menu1') {
showHideMenu('1','null');
document.location.href = '#menu1-link';
}
else if (url == 'menu2') {
showHideMenu('2','null');
document.location.href = '#menu2-link';
}
else if (url == 'menu3') {
showHideMenu('3','null');
document.location.href = '#menu3-link';
}
else if (url == 'menu4') {
showHideMenu('4','null');
document.location.href = '#menu4-link';
}
else if (url == 'menu5') {
showHideMenu('5','null');
document.location.href = '#menu5-link';
}
else if (url == 'menu6') {
showHideMenu('6','null');
document.location.href = '#menu6-link';
}
else if (url == 'menu7') {
showHideMenu('7','null');
document.location.href = '#menu7-link';
}
else if (url == 'menu8') {
showHideMenu('8','null');
document.location.href = '#menu8-link';
}
else if (url == 'menu9') {
showHideMenu('9','null');
document.location.href = '#menu9-link';
}
else if (url == 'menu10') {
showHideMenu('10','null');
document.location.href = '#menu10-link';
}
}
function showContentRemote() {
var query = document.location.search.substring(1);
var pairs = query.split();
var values;
var url;
for (var i=0; i < pairs.length; i++)
{
values = pairs[i].split();
url = values[0].substring(0,values[0].length);
}
if (url == 'msg-hantson') {
showMsg('msg-hantson');
document.location.href = '#hantson-open';
}
if (url == 'msg-priestley') {
showMsg('msg-priestley');
document.location.href = '#priestley-open';
}
}