﻿$jq = jQuery.noConflict();
$jq(document).ready(function() {
	$jq('div#divDancingLines a').media({ width:  950, height: 400, attrs: { wmode: 'transparent' , quality: 'medium' } }); // embed flash
	fNav1();
	$jq('div.FormBackground').wrap("<div class='FormBorder'></div>"); // wrapping form background div with form border div ...
	$jq('div.FormBackground').corner('5px').parent().css('padding', '1px').corner('5px'); // round corners for .FormBackground divs
	
});
function fNav1() {
	// PRELOAD
	$jq("div#divNav1 img").each(function() {
		$jq("<img>").attr("src", $jq(this).attr("src").replace(/.png$/ig,"-o.png")); // Set the original src
	});
	
	// Navigation rollovers
	$jq("div#divNav1 a").mouseover(function(){
		strImgSrc = $jq(this).children("img").attr("src");

		if (!strImgSrc.match(/-o.png/)) // don't do the rollover if state is already ON
			$jq(this).children("img").attr("src", strImgSrc.replace(/.png$/ig,"-o.png")); // strip off extension
	});
	$jq("div#divNav1 a").mouseout(function(){
		$jq(this).children("img").attr("src", strImgSrc);
	});
}
function fFreshFormField(oFormField) { // v1.0.0 2004-10-04; like:; req:;
	if (oFormField.value == oFormField.defaultValue) oFormField.value = "";
}




