<!-- Begin HEADER OPTIONS CODE

// ONLY USE lowercase FOR ALL OPTIONS

// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON


var color		= "darkgreen"	// HEADER BACKGROUND COLOR (EDIT IN THE css FILE)
var flashheight		= "100"		// HEIGHT OF THE FLASH (IN PIXELS)
var flashwidth		= "750"		// WIDTH OF THE FLASH (IN PIXELS)
var flashmode		= "transparent"	// FLASH WMODE | window | opaque | transparent |
var swfname		= "logo.swf"	// FLASH .swf FILE NAME

var showdate		= "yes"		// SHOW THE DATE ON THE PAGE



// FLASH MOBILE DETECTION OPTIONS

var DetectOn		= "no"		// USE FLASH DETECTION
var logotype		= "text"	// DETECTION TO SHOW - | text | graphic |
var LogoText		= " Welcome"	// TEXT FOR NON-FLASH BROWSERS
var logotest		= "no"		// DETETION TESTING MODE | yes | no |





// COPYRIGHT 2011 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law

// YOU DO NOT NEED TO EDIT BELOW THIS LINE



document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#'+color+'" height="'+flashheight+'"><tr><td align="left" valign="middle" class="headercolor">');
if (logotest == "no") {
if (DetectOn == "yes") {
// MOBILE IPOD IPHONE IPAD DETECTION
if ((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1)) 
{
if (logotype == "graphic") {
document.write('<img src="picts/logo.jpg" border="0"><br>');
}
if (logotype == "text") {
document.write('<nobr><span class="NoFlashTitle">&nbsp;'+LogoText+'</span></nobr><br>');
}
}
else {
if 
((navigator.userAgent.indexOf('MSIE') != -1) || 
(navigator.userAgent.indexOf('Firefox') != -1) || 
(navigator.userAgent.indexOf('Chrome') != -1) || 
(navigator.userAgent.indexOf('Safari') != -1) || 
(navigator.userAgent.indexOf('Netscape') != -1) || 
(navigator.userAgent.indexOf('Opera') != -1)) 
{
document.write('<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="'+flashwidth+'" HEIGHT="'+flashheight+'" id="logo">');
document.write('<PARAM NAME="movie" VALUE="'+swfname+'">');
document.write('<PARAM NAME="quality" VALUE="high">');
document.write('<PARAM NAME="wmode" VALUE="'+flashmode+'">');
document.write('<PARAM NAME="bgcolor" VALUE="#'+color+'">');
document.write('<EMBED src="'+swfname+'" quality="high" wmode="'+flashmode+'" bgcolor="#'+color+'" WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" NAME="logo" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT><br>');
 }
else {
if (logotype == "graphic") {
document.write('<img src="picts/logo.jpg" border="0"><br>');
}
if (logotype == "text") {
document.write('<nobr><span class="NoFlashTitle">&nbsp;'+LogoText+'</span></nobr><br>');
}
}
}
}
else {
document.write('<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="'+flashwidth+'" HEIGHT="'+flashheight+'" id="logo">');
document.write('<PARAM NAME="movie" VALUE="'+swfname+'">');
document.write('<PARAM NAME="quality" VALUE="high">');
document.write('<PARAM NAME="wmode" VALUE="'+flashmode+'">');
document.write('<PARAM NAME="bgcolor" VALUE="#'+color+'">');
document.write('<EMBED src="'+swfname+'" quality="high" wmode="'+flashmode+'" bgcolor="#'+color+'" WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" NAME="logo" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT><br>');
}
}
else {
if (logotype == "graphic") {
document.write('<img src="picts/logo.jpg" border="0"><br>');
}
if (logotype == "text") {
document.write('<nobr><span class="NoFlashTitle">&nbsp;'+LogoText+'</span></nobr><br>');
}
}
document.write('</td></tr></table>');


// START DATE SCRIPT
   if (showdate == "yes") {
document.write('<div id="date-location" class="printhide">');
var d=new Date()
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
document.write("<span class=\"date-font\"><nobr>" + weekday[d.getDay()] + " ")
document.write(monthname[d.getMonth()] + " ")
document.write(d.getDate() + ". ")
document.write(d.getFullYear())
document.write("</nobr><br></span>")
document.write('</div>');
}

//  End -->
