
//function added to clear the search text box
function doClear(theText) 
{
     if (theText.value == theText.defaultValue)
 {
         theText.value = ""
     }
 }
 
 // function added to bring the search text back in the box
 // once the focus is taken off and there is no existing text
function doBlur(theText)
{
   if(theText.value=='')theText.value='Search'
}


var Generic = {
	Init : function(){
			if(typeof sIFR == "function"){
				this.SetUpSIFR();
			}
	},
	SetUpSIFR : function(){
	
	//alert('hey, here comes sFIR');
	
	
	
// testing to see if i'm in the right directory.....
var img = new Image();

img.onerror = function () {
alert('Couldn\'t find the path');
}
//img.src = '../../js/sIFR/logo.gif';



// end directory test

	
		sIFR.replaceElement("ul.sifr #subnav-title  span.off", 
									named(
										  {
											  sFlashSrc: "../../js/sIFR/foundry_context_medium.swf", sWmode:"transparent",
											  sColor : "00857e",
											  sHoverColor: "000000",
											  nPaddingRight : 5
											}
										)
									);
		sIFR.replaceElement("ul.sifr #subnav-title span.on", 
									named(
										  {
											  sFlashSrc: "../../js/sIFR/foundry_context_medium.swf", sWmode:"transparent",
											  sColor : "000000",
  											  nPaddingRight : 5
											}
										)
									);
									
									
									
		/***START SolutionsMap***/
		sIFR.replaceElement("#sol-inner-left-content-top  h1, #sol-inner-right-content-left h2 span, #sol-sales h3 span, #choose-a-task h2", 
			named(
				  {
					  sFlashSrc: "../../js/sIFR/foundry_context_medium.swf", sWmode:"transparent",
					  sColor : "000000",
					  sHoverColor: "00857e"
					}
				)
			);
		sIFR.replaceElement("#choose-a-task h3.description", 
			named(
				  {
					  sFlashSrc: "../../js/sIFR/foundry_context_medium.swf", sWmode:"transparent",
					  sColor : "00857e"
					}
				)
			);
		/***END SolutionsMap***/
		
	}
}
