function gallery() {
document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"687\" height=\"460\" title=\"Will Coleman Image Gallery\">");
document.writeln("<param name=\"movie\" value=\"gallery.swf\" /><param name=\"quality\" value=\"high\" />");
document.writeln("<embed src=\"gallery.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"687\" height=\"460\"></embed></object>");
}
function bulinker(where) {
top.location = where
}

<!-- Begin
var months=new Array(13);
months[1]="January";
months[2]="February";
months[3]="March";
months[4]="April";
months[5]="May";
months[6]="June";
months[7]="July";
months[8]="August";
months[9]="September";
months[10]="October";
months[11]="November";
months[12]="December";
var time=new Date();
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();
if (year < 2000)
year = year + 1900;
// End -->

function createPlayer(theFile) {
	var s = new SWFObject("http://www.willcolemanequestrian.com/mediaplayer.swf","thePlayerId","480","380","7");
	s.addParam("allowfullscreen","true");
	s.addVariable("file",theFile);
	s.addVariable("bufferlength","16");
	s.addVariable("width","480");
	s.addVariable("height","380");
	s.addVariable("showstop","true");
	s.addVariable("displayheight","360");
	s.addVariable("overstretch","fit");
	s.addVariable("autostart","true");
	s.addVariable("volume","90");
	s.addVariable("frontcolor","0x000066");
	s.addVariable("lightcolor","0x990000");
	s.addVariable("screencolor","0xAAAAAA");
	s.addVariable("image","http://www.willcolemanequestrian.com/videos/video_header.jpg");
	s.addVariable("showdownload","false");
	s.addVariable("repeat","false");
	s.write("placeholder");
}
function createPlayerSM(theFile) {
	var s = new SWFObject("http://www.willcolemanequestrian.com/mediaplayer.swf","thePlayerId","390","312","7");
	s.addParam("allowfullscreen","true");
	s.addVariable("file",theFile);
	s.addVariable("bufferlength","12");
	s.addVariable("width","390");
	s.addVariable("height","312");
	s.addVariable("showstop","true");
	s.addVariable("displayheight","292");
	s.addVariable("overstretch","fit");
	s.addVariable("autostart","true");
	s.addVariable("volume","90");
	s.addVariable("frontcolor","0x000066");
	s.addVariable("lightcolor","0x990000");
	s.addVariable("screencolor","0xAAAAAA");
	s.addVariable("image","http://www.willcolemanequestrian.com/videos/video_header.jpg");
	s.addVariable("showdownload","false");
	s.addVariable("repeat","false");
	s.write("placeholderSM");
}
function createPlayerTop(theFile) {
	var s = new SWFObject("http://www.willcolemanequestrian.com/mediaplayer.swf","thePlayerId","480","380","7");
	s.addParam("allowfullscreen","true");
	s.addVariable("file",theFile);
	s.addVariable("bufferlength","14");
	s.addVariable("width","480");
	s.addVariable("height","380");
	s.addVariable("showstop","true");
	s.addVariable("displayheight","360");
	s.addVariable("overstretch","fit");
	s.addVariable("autostart","true");
	s.addVariable("volume","90");
	s.addVariable("frontcolor","0x000066");
	s.addVariable("lightcolor","0x990000");
	s.addVariable("screencolor","0xAAAAAA");
	s.addVariable("image","http://www.willcolemanequestrian.com/videos/Video_Header_Click.jpg");
	s.addVariable("showdownload","false");
	s.addVariable("repeat","false");
	s.write("placeholderTop");
}
function createPlayerMem(theFile) {
	var s = new SWFObject("http://www.willcolemanequestrian.com/mediaplayer.swf","thePlayerId","480","380","7");
	s.addParam("allowfullscreen","true");
	s.addVariable("file",theFile);
	s.addVariable("bufferlength","15");
	s.addVariable("width","480");
	s.addVariable("height","380");
	s.addVariable("showstop","true");
	s.addVariable("displayheight","360");
	s.addVariable("overstretch","fit");
	s.addVariable("autostart","true");
	s.addVariable("volume","90");
	s.addVariable("frontcolor","0x000066");
	s.addVariable("lightcolor","0x990000");
	s.addVariable("screencolor","0xAAAAAA");
	s.addVariable("image","http://www.willcolemanequestrian.com/videos/Video_Header_Click.jpg");
	s.addVariable("showdownload","false");
	s.addVariable("repeat","false");
	s.write("placeholderMem");
}
function createPlayerNonMem(theFile) {
	var s = new SWFObject("http://www.willcolemanequestrian.com/mediaplayer.swf","thePlayerId","480","380","7");
	s.addParam("allowfullscreen","true");
	s.addVariable("file",theFile);
	s.addVariable("bufferlength","18");
	s.addVariable("width","480");
	s.addVariable("height","380");
	s.addVariable("showstop","true");
	s.addVariable("displayheight","360");
	s.addVariable("overstretch","fit");
	s.addVariable("autostart","true");
	s.addVariable("volume","90");
	s.addVariable("frontcolor","0x000066");
	s.addVariable("lightcolor","0x990000");
	s.addVariable("screencolor","0xAAAAAA");
	s.addVariable("image","http://www.willcolemanequestrian.com/videos/Video_Header_Click.jpg");
	s.addVariable("showdownload","false");
	s.addVariable("repeat","false");
	s.write("placeholderNonMem");
}
function createPlayerNews(theFile) {
	var s = new SWFObject("http://www.willcolemanequestrian.com/mediaplayer.swf","thePlayerId","480","380","7");
	s.addParam("allowfullscreen","true");
	s.addVariable("file",theFile);
	s.addVariable("bufferlength","14");
	s.addVariable("width","480");
	s.addVariable("height","380");
	s.addVariable("showstop","true");
	s.addVariable("displayheight","360");
	s.addVariable("overstretch","fit");
	s.addVariable("autostart","true");
	s.addVariable("volume","80");
	s.addVariable("frontcolor","0x000066");
	s.addVariable("lightcolor","0x990000");
	s.addVariable("screencolor","0xAAAAAA");
	s.addVariable("image","http://www.willcolemanequestrian.com/videos/Video_Header_Click.jpg");
	s.addVariable("showdownload","false");
	s.addVariable("repeat","false");
	s.write("placeholderNews");
}
function createPlayerDemo(theFile) {
	var s = new SWFObject("http://www.willcolemanequestrian.com/videos/mediaplayer.swf","thePlayerId","480","380","7");
	s.addParam("allowfullscreen","true");
	s.addVariable("file",theFile);
	s.addVariable("bufferlength","7");
	s.addVariable("width","480");
	s.addVariable("height","380");
	s.addVariable("showstop","true");
	s.addVariable("displayheight","360");
	s.addVariable("overstretch","fit");
	s.addVariable("autostart","true");
	s.addVariable("volume","80");
	s.addVariable("frontcolor","0x000066");
	s.addVariable("lightcolor","0x990000");
	s.addVariable("screencolor","0xAAAAAA");
	s.addVariable("image","www.willcolemanequestrian.com/videos/Video_Header_Click.jpg");
	s.addVariable("showdownload","false");
	s.addVariable("repeat","false");
	s.write("placeholderDemo");
}
function createPlayerBio(theFile) {
	var s = new SWFObject("http://www.willcolemanequestrian.com/mediaplayer.swf","thePlayerId","480","380","7");
	s.addParam("allowfullscreen","true");
	s.addVariable("file",theFile);
	s.addVariable("bufferlength","16");
	s.addVariable("width","480");
	s.addVariable("height","380");
	s.addVariable("showstop","true");
	s.addVariable("displayheight","360");
	s.addVariable("overstretch","fit");
	s.addVariable("autostart","false");
	s.addVariable("volume","90");
	s.addVariable("frontcolor","0x000066");
	s.addVariable("lightcolor","0x990000");
	s.addVariable("screencolor","0xAAAAAA");
	s.addVariable("image","http://www.willcolemanequestrian.com/videos/Video_Header_Click.jpg");
	s.addVariable("showdownload","false");
	s.addVariable("repeat","false");
	s.write("placeholderBio");
}


var win=null;
function NewWindowPos(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=10;mytop=40}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=yes,directories=no,status=yes,menubar=no,toolbar=yes,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}

var win=null;
function NewWindowPos1(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=640;mytop=40}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=yes,directories=no,status=yes,menubar=no,toolbar=yes,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}

var win=null;
function NewWindowPos2(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=10;mytop=40}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=yes,directories=no,status=yes,menubar=no,toolbar=yes,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}

var win=null;
function NewWindowPos3(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=430;mytop=40}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=yes,directories=no,status=yes,menubar=no,toolbar=yes,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable,'
win = window.open(mypage,myname,settings)
}
