/* Clear Forms */
function clearText(thefield) {
	if (thefield.defaultValue == thefield.value) {
		thefield.value = ""
		thefield.style.color = '#333333';
		document.getElementById('btn_search').style.visibility='visible';
	}
} 


function replace_sifr(media_url) {
  var gothamlight = {
  	src: media_url+'css/sifr/gotham-light.swf'
  };
  sIFR.activate(gothamlight);
  sIFR.replace(gothamlight, {
  	selector: 'h2.title',
  	css: [
  	'.sIFR-root { color: #908469; }'
  	],
  	wmode: 'transparent'
  });
  
  
  var gothamlightpink = {
  	src: media_url+'css/sifr/gotham-light.swf'
  };
  sIFR.activate(gothamlightpink);
  sIFR.replace(gothamlightpink, {
  	selector: 'h2.pink',
  	css: [
  	'.sIFR-root { color:#fc3a85; }'
  	],
  	wmode: 'transparent'
  });
  
  var gothamthin = {
  	src: media_url+'css/sifr/gotham-thin.swf'
  };
  
  sIFR.activate(gothamthin);
  
  sIFR.replace(gothamthin, {
  	selector: 'h1.title',
  	css: [
  	'.sIFR-root { color: #453612; font-weight:normal; line-height: 1em; border-bottom:4px solid #907F66; }'
  	,'a { color: #453612; text-decoration: none; border-bottom:4px solid #907F66;}'
  	,'a:link { color: #453612; text-decoration:none; border-bottom:4px solid #907F66;}'
  	,'a:hover { color: #453612; text-decoration:underline;line-height: 1em; border-bottom:4px solid #907F66;}'
  
  	],
  	wmode: 'transparent'
  });
  
  var gothamlight2 = {
  	src: media_url+'css/sifr/gotham-light.swf'
  };
  
  sIFR.activate(gothamlight2);
  
  sIFR.replace(gothamlight2, {
  	selector: '.title',
  	css: [
  	'.sIFR-root { color: #fc3a85; }'
  	,'a { color: #fc3a85; text-decoration: none; }'
  	,'a:link { color: #fc3a85; text-decoration:none; }'
  	,'a:hover { color: #fc3a85; text-decoration:underline; }'
  	],
  	wmode: 'transparent'
  });
}