	//style sheet
if(location.pathname == "/weaselfilms/brucesmf/" || location.pathname == "/weaselfilms/brucesmf/index.html")
	document.write('<LINK REL=StyleSheet TYPE="text/css" HREF="/weaselfilms/style/body.css">');
else
	document.write('<LINK REL=StyleSheet TYPE="text/css" HREF="/weaselfilms/style/WFstyle.css">');

document.write('<SCRIPT LANGUAGE="JavaScript" SRC="/weaselfilms/scripts/validation.js"></SCRIPT>');

/*	//no right-click
function click(e) 
{
	var message="You do not have permission to right click.";
	if(document.all)
	{
		if(event.button == 2)
		{
			alert(message);
			return false;
		}
	}
	if(document.layers)
	{
		if(e.which == 3)
		{
			alert(message);
			return false;
		}
	}
}
if(document.layers)
{
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown = click;
*/

	//pop-up window
function MM_openBrWindow(theURL,winName,features)
{
	window.open(theURL,winName,features);
}

	//pop-up window
function popWin(target)
{
	var theURL	 = "";
	var winName	 = "";
	var features = "";

	switch(target)
	{
		case "message":
			theURL   = "message.asp";
			winName  = "Message";
			features = "width=500,height=440";
			break;
		case "advCopy":
			theURL   = "advancedcopy.asp";
			winName  = "Reserve";
			features = "width=420,height=375";
			break;
		case "nameGIRL":
			theURL   = "namegirl.asp";
			winName  = "GIRL";
			features = "width=450,height=455";
			break;
		case "soundtrack":
			theURL   = "soundtrack.asp";
			winName  = "Soundtrack";
			features = "width=510,height=420";
			break;
		case "footage":
			theURL   = "footage.html";
			winName  = "Footage";
			features = "width=410,height=280";
			break;
		case "donate":
			theURL   = "donate.html";
			winName  = "Donations";
			features = "width=640,height=400";
			break;
		case "character":
			theURL   = "bruce.html";
			winName  = "Bruce";
			features = "width=190,height=490";
			break;
		case "poster":
			theURL   = "poster.html?" + project;
			winName  = "Poster";
			features = "width=475,height=730";
			break;
		default:
			theURL   = "http://www.weaselfilms.com";
			winName  = " ";
			features = "width=640,height=550";
			break;
	}

	window.open(theURL,winName,features);
}

	//preload images
function preload()
{
	if(!document.images)
		return;
	var ar = new Array();
	var arguments = preload.arguments;

	for(var i = 0; i  < arguments.length; i++)
	{
		ar[i] = new Image();
		ar[i].src = arguments[i];
	}
}


	//
document.write('');
document.write('');
document.write('');
document.write('');
