/*****************************************************/
/**                                                 **/
/**           Firstdesign JavaScript File           **/
/**                                                 **/
/*****************************************************/

function Bax_Header(Page_Name)
{
document.write('<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BGCOLOR="#FFFFFF"><TR VALIGN="TOP">');
document.write('<TD STYLE="height: 110px;background: url(Images/Top_back.gif)">');
document.write('<IMG SRC="Images/Top_1.gif" WIDTH="110" HEIGHT="110">');
document.write('<IMG SRC="Images/Top_2.gif" WIDTH="130" HEIGHT="110">');
document.write('<IMG SRC="Images/Top_front.gif" WIDTH="180" HEIGHT="80" ALIGN="TOP">');
document.write('</TD></TR><TR><TD>');
document.write('<embed src="Wavs/CLICK1.wav" autostart=false width=0 height=0 name="sound1" enablejavascript="true">');
}

function Bax_Home_Buttons()
{
document.write('<TABLE STYLE="width: 210px; height: 200px" ALIGN="LEFT"><TR VALIGN="TOP">');
document.write('<TD><CENTER><IMG SRC="Images/Button_Home5_on.gif" WIDTH="70" HEIGHT="75" BORDER="0"></CENTER></TD>');
document.write('<TD><CENTER><A HREF="Profile.htm"><IMG SRC="Images/Button_Profile5anim_off.gif" NAME="Button_Profile5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('</TR><TR VALIGN="TOP">');
document.write('<TD><CENTER><A HREF="Portfolio.htm"><IMG SRC="Images/Button_Portfolio5anim_off.gif" NAME="Button_Portfolio5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('<TD><CENTER><A HREF="Contact.htm"><IMG SRC="Images/Button_Contact5anim_off.gif" NAME="Button_Contact5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('</TR></TABLE>');

}

function Bax_Profile_Buttons()
{
document.write('<TABLE STYLE="width: 210px; height: 200px" ALIGN="LEFT"><TR VALIGN="TOP">');
document.write('<TD><CENTER><A HREF="Home.htm"><IMG SRC="Images/Button_Home5anim_off.gif" NAME="Button_Home5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('<TD><CENTER><IMG SRC="Images/Button_Profile5_on.gif" WIDTH="70" HEIGHT="75" BORDER="0"></CENTER></TD>');
document.write('</TR><TR VALIGN="TOP">');
document.write('<TD><CENTER><A HREF="Portfolio.htm"><IMG SRC="Images/Button_Portfolio5anim_off.gif" NAME="Button_Portfolio5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('<TD><CENTER><A HREF="Contact.htm"><IMG SRC="Images/Button_Contact5anim_off.gif" NAME="Button_Contact5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('</TR></TABLE>');

}

function Bax_Portfolio_Buttons()
{
document.write('<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 210px; height: 200px" ALIGN="LEFT"><TR VALIGN="TOP">');
document.write('<TD><CENTER><A HREF="Home.htm"><IMG SRC="Images/Button_Home5anim_off.gif" NAME="Button_Home5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('<TD><CENTER><A HREF="Profile.htm"><IMG SRC="Images/Button_Profile5anim_off.gif" NAME="Button_Profile5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('</TR><TR VALIGN="TOP">');
document.write('<TD><CENTER><IMG SRC="Images/Button_Portfolio5_on.gif" WIDTH="70" HEIGHT="75" BORDER="0"></CENTER></TD>');
document.write('<TD><CENTER><A HREF="Contact.htm"><IMG SRC="Images/Button_Contact5anim_off.gif" NAME="Button_Contact5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('</TR><TR>');
document.write('<TD COLSPAN="2"><BR><BR>');
document.write('<IMG SRC="Images/submenu_top.gif"><BR>');
document.write('<A HREF="Kitchens.htm"><IMG SRC="Images/Sub_Kitchens_off.gif" NAME="Sub_Kitchens" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" BORDER="0"></A><BR>');
document.write('<A HREF="Refurb.htm"><IMG SRC="Images/Sub_Renovation_off.gif" NAME="Sub_Renovation" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" BORDER="0"></A><BR>');
document.write('<A HREF="Bespoke.htm"><IMG SRC="Images/Sub_Bespoke_off.gif" NAME="Sub_Bespoke" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" BORDER="0"></A><BR>');
document.write('<A HREF="Windows.htm"><IMG SRC="Images/Sub_Windows_off.gif" NAME="Sub_Windows" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" BORDER="0"></A><BR>');
document.write('<A HREF="Locksmith.htm"><IMG SRC="Images/Sub_Locksmith_off.gif" NAME="Sub_Locksmith" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" BORDER="0"></A><BR>');
document.write('<A HREF="Laminate.htm"><IMG SRC="Images/Sub_Laminate_off.gif" NAME="Sub_Laminate" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" BORDER="0"></A><BR>');
document.write('<A HREF="Garage.htm"><IMG SRC="Images/Sub_Garage_off.gif" NAME="Sub_Garage" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" BORDER="0"></A><BR>');
document.write('<A HREF="General.htm"><IMG SRC="Images/Sub_General_off.gif" NAME="Sub_General" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" BORDER="0"></A><BR>');
document.write('<IMG SRC="Images/Submenu_Bottom.gif">');
document.write('</TD></TR></TABLE>');
}

function Bax_Contact_Buttons()
{
document.write('<TABLE STYLE="width: 210px; height: 200px" ALIGN="LEFT"><TR VALIGN="TOP">');
document.write('<TD><CENTER><A HREF="Home.htm"><IMG SRC="Images/Button_Home5anim_off.gif" NAME="Button_Home5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('<TD><CENTER><A HREF="Profile.htm"><IMG SRC="Images/Button_Profile5anim_off.gif" NAME="Button_Profile5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('</TR><TR VALIGN="TOP">');
document.write('<TD><CENTER><A HREF="Portfolio.htm"><IMG SRC="Images/Button_Portfolio5anim_off.gif" NAME="Button_Portfolio5anim" onMouseOver="OverGIF(this.name);" onMouseOut="OutGIF(this.name);" WIDTH="70" HEIGHT="75" BORDER="0"></A></CENTER></TD>');
document.write('<TD><CENTER><IMG SRC="Images/Button_Contact5_on.gif" WIDTH="70" HEIGHT="75" BORDER="0"></CENTER></TD>');
document.write('</TR></TABLE>');

}

function Bax_Footer()
{
document.write('</TD></TR></TABLE><TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0">');
document.write('<TR><TD STYLE="height: 25px; background: #FFFFFF"><IMG SRC="Images/bottom_FD_top.gif" BORDER="0"></TD></TR>');
document.write('<TR><TD STYLE="height: 25px; background: url(Images/Bottom_back.gif) #336699; background-repeat: no-repeat"><IMG SRC="Images/bottom_FD_middle.gif" BORDER="0"></TD></TR>');
document.write('<TR><TD STYLE="height: 30px; background: #336699; background-repeat: no-repeat" VALIGN="TOP"><TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" ALIGN="LEFT"><TR><TD><IMG SRC="Images/bottom_FD.gif" BORDER="0"></TD></TR></TABLE>');
document.write('<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" ALIGN="CENTER">');
document.write('	<TR><TD VALIGN="TOP"><CENTER CLASS="footer"><B>mobile </B>07816 814417 <B>| tel </B>01827 62260 <B>| fax</B> 01827 62290 <B>| email </B><A HREF="enquiries@baxtersproperty.co.uk">enquiries@baxtersproperty.co.uk</A></TD></TR></TABLE>');
document.write('</TD></TR></TABLE></TD></TR></TABLE>');
}


function Bax_Image(Picture_Name)
{
document.write('	<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" ALIGN="LEFT">');
document.write('	<TR HEIGHT="4">');
document.write('	<TD ALIGN="RIGHT" VALIGN="BOTTOM"><IMG SRC="Images/Pic_Border_TL.gif" width="8" Height="4"></TD>');
document.write('	<TD background="Images/Pic_Border_Top.gif"> </TD>');
document.write('	<TD ALIGN="LEFT" VALIGN="BOTTOM"><IMG SRC="Images/Pic_Border_TR.gif" width="8" Height="4"></TD>');
document.write('	</TR><TR>');
document.write('	<TD background="Images/Pic_Border_Left.gif"> </TD>');
document.write('	<TD><IMG SRC=' + Picture_Name + '></TD>');
document.write('	<TD background="Images/Pic_Border_Right.gif"> </TD>');
document.write('	</TR><TR HEIGHT="10">');
document.write('	<TD ALIGN="RIGHT" VALIGN="TOP"><IMG SRC="Images/Pic_Border_BL.gif" width="8" Height="10"></TD>');
document.write('	<TD background="Images/Pic_Border_Bottom.gif"> </TD>');
document.write('	<TD ALIGN="LEFT" VALIGN="TOP"><IMG SRC="Images/Pic_Border_BR.gif" width="8" Height="10"></TD>');
document.write('	</TR></TABLE>');
}

function Bax_Image_Center(Picture_Name)
{
document.write('	<CENTER><TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">');
document.write('	<TR HEIGHT="4">');
document.write('	<TD ALIGN="RIGHT" VALIGN="BOTTOM"><IMG SRC="Images/Pic_Border_TL.gif" width="8" Height="4"></TD>');
document.write('	<TD background="Images/Pic_Border_Top.gif"> </TD>');
document.write('	<TD ALIGN="LEFT" VALIGN="BOTTOM"><IMG SRC="Images/Pic_Border_TR.gif" width="8" Height="4"></TD>');
document.write('	</TR><TR>');
document.write('	<TD background="Images/Pic_Border_Left.gif"> </TD>');
document.write('	<TD><IMG SRC=' + Picture_Name + '></TD>');
document.write('	<TD background="Images/Pic_Border_Right.gif"> </TD>');
document.write('	</TR><TR HEIGHT="10">');
document.write('	<TD ALIGN="RIGHT" VALIGN="TOP"><IMG SRC="Images/Pic_Border_BL.gif" width="8" Height="10"></TD>');
document.write('	<TD background="Images/Pic_Border_Bottom.gif"> </TD>');
document.write('	<TD ALIGN="LEFT" VALIGN="TOP"><IMG SRC="Images/Pic_Border_BR.gif" width="8" Height="10"></TD>');
document.write('	</TR></TABLE>');
}


function Bax_Flash(Flash_Name, Flash_Width, Flash_Height)
{
document.write('	<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" ALIGN="LEFT">');
document.write('	<TR HEIGHT="4">');
document.write('	<TD ALIGN="RIGHT" VALIGN="BOTTOM"><IMG SRC="Images/Pic_Border_TL.gif" width="8" Height="4"></TD>');
document.write('	<TD background="Images/Pic_Border_Top.gif"> </TD>');
document.write('	<TD ALIGN="LEFT" VALIGN="BOTTOM"><IMG SRC="Images/Pic_Border_TR.gif" width="8" Height="4"></TD>');
document.write('	</TR><TR>');
document.write('	<TD background="Images/Pic_Border_Left.gif"> </TD>');
document.write('	<TD><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="' + Flash_Width + '" HEIGHT="' + Flash_Height + '" id="Intro" ALIGN="">');
document.write('	<PARAM NAME=movie VALUE="' + Flash_Name + '">');
document.write('	<PARAM NAME=quality VALUE=high>');
document.write('	<PARAM NAME=bgcolor VALUE=#3B6C9D>');
document.write('	<EMBED src="' + Flash_Name + '" quality=high bgcolor=#3B6C9D NAME="work" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></TD>');
document.write('	<TD background="Images/Pic_Border_Right.gif"> </TD>');
document.write('	</TR><TR HEIGHT="10">');
document.write('	<TD ALIGN="RIGHT" VALIGN="TOP"><IMG SRC="Images/Pic_Border_BL.gif" width="8" Height="10"></TD>');
document.write('	<TD background="Images/Pic_Border_Bottom.gif"> </TD>');
document.write('	<TD ALIGN="LEFT" VALIGN="TOP"><IMG SRC="Images/Pic_Border_BR.gif" width="8" Height="10"></TD>');
document.write('	</TR></TABLE>');
}

function OverGIF(which) {
	document.images[which].src = "Images/"+which+"_on.gif";
	}

function OutGIF(which) {
	document.images[which].src = "Images/"+which+"_off.gif";
	}


