/************************************************************/
/*****													*****/
/*****	Windsoft										*****/
/*****													*****/
/*****	Filename: 		Wsetdiv.js		  				*****/
/*****													*****/
/*****	Designer(s):	J.M. Wind (Windsoft)			*****/
/*****													*****/
/*****	Source: 		1.0								*****/
/*****													*****/
/*****	Copyright 2007 Windsoft. All rights reserved.	*****/
/*****													*****/
/************************************************************/
/*****	>------------------ History -----------------<	*****/
/*****	Date		Name	Source	Description			*****/
/*****	----------	-------	-------	-------------------	*****/
/*****	08-09-2008	JMW		1.0		Begin history		*****/
/************************************************************/
/*****	Polleo Functies JS								*****/
/************************************************************/

		changeParent = function(Ob,Ob2) {
			//document.getElementById(Ob).style.backgroundImage = "url(/img/menu_background_over.jpg)";
			//document.getElementById(Ob).style.backgroundRepeat = "repeat-x";
			//document.getElementById(Ob).firstChild.style.color = "#CCCCCC";
			document.getElementById(Ob).childNodes[0].style.backgroundImage = "url(/img/tab_active_left.png)";
			document.getElementById(Ob).childNodes[1].style.backgroundImage = "url(/img/tab_active_center.png)";
			document.getElementById(Ob2).style.color = "#ffffff";
			document.getElementById(Ob).childNodes[2].style.backgroundImage = "url(/img/tab_active_right.png)";

			if(navigator.appName == "Microsoft Internet Explorer"){
				document.getElementById(Ob).className+= " ie_does_hover";
			}
		}
		
		setBack = function(Ob,Ob2){
			document.getElementById(Ob).childNodes[0].style.backgroundImage = "url(/img/tab_inactive_left.png)";
			document.getElementById(Ob).childNodes[1].style.backgroundImage = "url(/img/tab_inactive_center.png)";
			document.getElementById(Ob).childNodes[2].style.backgroundImage = "url(/img/tab_inactive_right.png)";
			document.getElementById(Ob2).style.color = "#0079aa";

			if(navigator.appName == "Microsoft Internet Explorer"){
				document.getElementById(Ob).className = document.getElementById(Ob).className.replace(new RegExp(" ie_does_hover\\b"), "");
			}
		}
		
		setBack2 = function(Ob){
			

			if(navigator.appName == "Microsoft Internet Explorer"){
				document.getElementById(Ob).className = document.getElementById(Ob).className.replace(new RegExp(" ie_does_hover\\b"), "");
			}
		}
