//Place common site-wide javascript code in this file
function gd(e) { return document.getElementById(e); }
function gs(e) { return document.getElementById(e).style; }
function gv(e) { return document.getElementById(e).value; }
function dw(i) { return document.write(i); }

function ClearInput(value,theid)
{
	if (gv(theid) == value) { gd(theid).value = ""; }
}//end function

function CreateSplash(file)
{
	dw('<object type="application/x-shockwave-flash" data="'+file+'">');
	dw('<param name="movie" value="'+file+'">');
	dw('<param name="loop" value="true">');
	dw('<param name="wmode" value="transparent">');
	dw('</object>');
}//end function

function FlashVideo(file)
{
	dw('<object>');
	dw('<param name="movie" value="'+file+'"></param>');
	dw('<embed src="'+file+'" type="application/x-shockwave-flash"></embed>');
	dw('</object>');
}//end function
/*
(function ($) {
	$.fn.boxShadow = function() {
		var sw = ".shadow-wrapper";
		var sp = ".shadow-padding";
		
		$(this).wrap('<div class="shadow-padding"></div>');
		$(sp).wrap('<div class="shadow-wrapper"></div>');
		
		$(sw + " img").each(function(){		
			$(this).parent(sp).css("width", $(this).width() + "px");			
			$(this).parent(sp).parent(sw).css("width", $(this).parent(sp).outerWidth() + "px");
		});		
	};
})
(jQuery);

$(document).ready(function() {
	$("img.shadow").boxShadow();
});
*/