
// ONLY USE lowercase FOR ALL OPTIONS

// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON


var color            = "666666"    // HEADER BACKGROUND COLOR (EDIT IN THE css FILE)
var flashheight      = "50"        // HEIGHT OF THE FLASH (IN PIXELS)
var flashwidth       = "750"       // WIDTH OF THE FLASH (IN PIXELS)

var showdate         = "yes"       // SHOW THE DATE ON THE PAGE
var stripes          = "yes"       // SHOW STRIPE UNDER THE FLASH

// YOU DO NOT NEED TO EDIT BELOW THIS LINE


document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" BGCOLOR="#'+color+'"><tr><td align="left" class="headercolor">');
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="' + location.protocol + '//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="' + sRoot + 'template/flash/logo.swf">');
document.write('<PARAM NAME="quality" VALUE="high">');
document.write('<PARAM NAME="wmode" VALUE="transparent">');
document.write('<PARAM NAME="bgcolor" VALUE=#'+color+'>');
document.write('<EMBED src="' + sRoot + 'template/flash/logo.swf" quality="high" wmode="transparent" bgcolor=#'+color+' WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" NAME="logo" TYPE="application/x-shockwave-flash" PLUGINSPAGE="' + location.protocol + '://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT><br>');
if (stripes == "yes")
{
       document.write('</td></tr><tr class="printhide"><td class="pagebars">');
       document.write('<img src="/images/spacer.gif" width="10" height="1"><br>');
}
document.write('</td></tr></table>');

document.write('<div class="GoogleSearchArea" id="divGoogleSearchArea">');
document.write('<table cellspacing="0" cellpadding="0" style="padding: 0px; margin: 0px;" width="100%">');
document.write('<tr>');
document.write('<td align="left" valign="middle" style="line-height: 20px; min-height: 22px;">');
document.write('<div class="GoogleSearchText">Search the ISCPA:</div> ');
document.write('<input id="curSearchPage" type="hidden" value="0" />');
document.write('<input id="searchTerms" class="GoogleInputBox" type="text" /> ');
document.write('<input id="btnSearch" class="GoogleSearchButton" onclick="searchHandler();" type="button" value="Search  >" /><br /><br />');
document.write('</td>');


//  End -->
// START DATE SCRIPT
if (showdate == "yes")
{
	document.write('<td align="right">');
	var d=new Date()
	var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
	var weekdayshort=new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat")
	var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
	var monthnameshort=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
	document.write("<span class=\"date-font\">");
	if (vLoginText != "")
	{
		document.write(vLoginText + " &nbsp; | &nbsp; ");
		document.write("<nobr>" + weekdayshort[d.getDay()] + " ")
		document.write(monthnameshort[d.getMonth()] + " ")
		document.write(d.getDate() + ". ")
		document.write(d.getFullYear())
		document.write("</nobr><br></span>")
		var a = 1;
	}
}

document.write('</tr></table>');
document.write('</div>');

if ($.browser.msie)
	document.getElementById('divGoogleSearchArea').style.top = 51;
if (vLoginText != "")
	document.getElementById('btnSearch').style.top = 0;
	
addEvent(document, "keydown", funcCheck);

