function initPage() {
	$$('.clientTypeDiv').each(function(clientTypeDiv) {
		clientTypeDiv.observe('mouseover', function() { 
			clientTypeDiv.style.backgroundImage = "url(images/clientTypeBg.gif)";
			document.body.style.cursor = 'pointer';
		} );  
		clientTypeDiv.observe('mouseout', function() { 
			clientTypeDiv.style.backgroundImage = "";
			document.body.style.cursor = 'default';
		} );    
	});

	$$('.clientTypeTallDiv').each(function(clientTypeDiv) {
		clientTypeDiv.observe('mouseover', function() { 
			clientTypeDiv.style.backgroundImage = "url(images/clientTypeBgTall.gif)";
			document.body.style.cursor = 'pointer';
		} );  
		clientTypeDiv.observe('mouseout', function() { 
			clientTypeDiv.style.backgroundImage = "";
			document.body.style.cursor = 'default';
		} );    
	});

	$$('.clientTypeTallerDiv').each(function(clientTypeDiv) {
		clientTypeDiv.observe('mouseover', function() { 
			clientTypeDiv.style.backgroundImage = "url(images/clientTypeBgTaller.gif)";
			document.body.style.cursor = 'pointer';
		} );  
		clientTypeDiv.observe('mouseout', function() { 
			clientTypeDiv.style.backgroundImage = "";
			document.body.style.cursor = 'default';
		} );    
	});

	$$('.pcTextboxHook').each(function(pcTextBox) {
		if( !(isIE6() || isIE7()) ) {
			var parentNode = pcTextBox.parentNode;
			parentNode.removeChild( pcTextBox );
			var containerDiv  = document.createElement( "div" );
			containerDiv.setAttribute( "class", "pcTextboxContainer" );
			pcTextBox.setAttribute( "class", "pcTextbox" );
	
			var leftDiv  = document.createElement( "div" );
			leftDiv.setAttribute( "class", "pcTextboxLeftDiv" );
			var leftImg = document.createElement( "img" );
			leftImg.setAttribute( "src", "images/textboxLeft.png" );
			leftDiv.appendChild( leftImg );
			
			var rightDiv  = document.createElement( "div" );
			rightDiv.setAttribute( "class", "pcTextboxRightDiv" );
			var rightImg = document.createElement( "img" );
			rightImg.setAttribute( "src", "images/textboxRight.png" );
			rightDiv.appendChild( rightImg );
	
			var centerDiv = document.createElement( "div" );
			centerDiv.setAttribute( "class", "textboxExtender" );
			centerDiv.appendChild( pcTextBox );
			
			containerDiv.appendChild( leftDiv );
			containerDiv.appendChild( centerDiv );
			containerDiv.appendChild( rightDiv );
			
			parentNode.appendChild( containerDiv );
		} else {
		}
	});
}

function isIE6() {
	
	if( Prototype.Browser.IE && parseInt(
			navigator.userAgent.substring 
			(navigator.userAgent.indexOf("MSIE")+5))==6 ) {
		return true;
	}
}

function isIE7() {
	if( Prototype.Browser.IE && parseInt(
			navigator.userAgent.substring 
			(navigator.userAgent.indexOf("MSIE")+5))==7 ) {
		return true;
	}
}

