/*


basf_Loader.js


*/




/*

This function will open two windows first is the link we go to the second window will

self close after 5 seconds and stay on top while displaying a message

 */

function srd(theURL,winName,features) {

 window.open(theURL,winName,features);

 window.open('/file1.html','go','width=300,height=100 ');



}



function openBrWindow(theURL,winName,features) {

 //v2.0 

//alert('Transferring to BASF Group website');

 window.open(theURL,winName,features);
}
   basf_DOM = (document.getElementById) ? true : false;
   basf_NS4 = (document.layers) ? true : false;
   basf_IE = (document.all) ? true : false;
   basf_IE4 = basf_IE && !basf_DOM;
   basf_Mac = (navigator.appVersion.indexOf("Mac") != -1);
   basf_IE4M = basf_IE4 && basf_Mac;
basf_IsMenu = (basf_DOM || basf_NS4 || (basf_IE4 && !basf_IE4M));
basf_BrowserString = basf_NS4 ? "NS4" : basf_DOM ? "DOM" : "IE4";

if(window.event + "" == "undefined") event = null;
function basf_f_PopUp(){return false};
function basf_f_PopDown(){return false};
popUp = basf_f_PopUp;
popDown = basf_f_PopDown;

// the following function is included to illustrate the improved JS expression handling of


// the left_position and top_position parameters


// you may delete if you have no use for it



function basf_f_CenterMenu(topmenuid) {
	var TheMenu = basf_DOM ? document.getElementById(topmenuid) : basf_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
	var TheMenuWidth = basf_DOM ? parseInt(TheMenu.style.width) : basf_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = basf_IE ? document.body.clientWidth : window.innerWidth;
	return ((TheWindowWidth-TheMenuWidth) / 2);
}

if(basf_IsMenu) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='http://www.basf.com/standard/branding/scripts/basf_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='http://www.basf.com/standard/branding/scripts/dblue3basf_Script"+ basf_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}


//end