function writeJS(){
var str='';
str+='<title>SuperMoto USA NorCal Series<\/title>';
str+='<link rel=\"stylesheet\" href=\"styles.css\" type=\"text\/css\">';
str+='<script language=\"JavaScript\" src=\"scriptin_home.js\"><\/script>';
str+='<script language=\"JavaScript\" src=\"sponsordisplay.js\"><\/script>';
str+='<style type="text/css">';
str+='.sponsor{';
str+='visibility: hidden;';
str+='padding: 2;';
str+='}';
str+='</style>';

if ((window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length) == "index.html") || (window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length) == "")) {
str+='<script type=\"text\/javascript\" src=\"http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.3.2\/jquery.min.js\"><\/script>';

str+='<script type="text/javascript" src="scripts/fadeslideshow.js"></script>';

str+='<script type="text/javascript" src="scripts/slideshow.js"></script>';
}

str+='<script type="text/javascript">';
str+='';
str+='/***********************************************';
str+='* Random Content Order script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)';
str+='* This notice MUST stay intact for legal use';
str+='* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code';
str+='***********************************************/';
str+='';
str+='function randomizeContent(classname){';
str+='var contents=randomizeContent.collectElementbyClass(classname)';
str+='contents.text.sort(function() {return 0.5 - Math.random();})';
str+='var tbodyref=contents.ref[0].tagName=="TR"? contents.ref[0].parentNode : new Object()';
str+='for (var i=0; i<contents.ref.length; i++){';
str+='if (tbodyref.moveRow) //if IE';
str+='tbodyref.moveRow(0, Math.round(Math.random()*(tbodyref.rows.length-1)))';
str+='else';
str+='contents.ref[i].innerHTML=contents.text[i]';
str+='contents.ref[i].style.visibility="visible"';
str+='}';
str+='}';
str+='';
str+='randomizeContent.collectElementbyClass=function(classname){ //return two arrays containing elements with specified classname, plus their innerHTML content';
str+='var classnameRE=new RegExp("(^|\\s+)"+classname+"($|\\s+)", "i") //regular expression to screen for classname within element';
str+='var contentobj=new Object()';
str+='contentobj.ref=new Array() //array containing references to the participating contents';
str+='contentobj.text=new Array() //array containing participating contents contents (innerHTML property)';
str+='var alltags=document.all? document.all : document.getElementsByTagName("*")';
str+='for (var i=0; i<alltags.length; i++){';
str+='if (typeof alltags[i].className=="string" && alltags[i].className.search(classnameRE)!=-1){';
str+='contentobj.ref[contentobj.ref.length]=alltags[i]';
str+='contentobj.text[contentobj.text.length]=alltags[i].innerHTML';
str+='}';
str+='}';
str+='return contentobj';
str+='}';
str+='';
str+='<\/script>';

str+='<\/head>';
str+='<BODY margin=top>';
str+='<DIV class=\"dropdown\" id=\"drop1\" onMouseOver=\"showdrop(0);\" style=\"LEFT: 98px\" onMouseOut=\"hidedrop();\">';
str+='	<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=99>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"class_structure.html\" class=\"small\">Class Structure<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"vintage_rules.html\" class=\"small\">Vintage Rules<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"techinfo.html\" class=\"small\">Tech Info<\/a><\/td>';
str+='	  <\/tr>';  
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"pdf/protest.pdf\" target=\"_blank\" class=\"small\">Protest Form<\/a><\/td>';
str+='	  <\/tr>'; 
str+='	  <\/table>';
str+='<\/DIV>';
str+='<DIV class=\"dropdown\" id=\"drop2\" onMouseOver=\"showdrop(1);\" style=\"LEFT: 196px\" onMouseOut=\"hidedrop();\">';
str+='	<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=99>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"schedule.html\" class=\"small\">2006 Schedule<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"schedule_2005.html\" class=\"small\">2005 Schedule<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <\/table>';
str+='<\/DIV>';
str+='<DIV class=\"dropdown\" id=\"drop3\" onMouseOver=\"showdrop(2);\" style=\"LEFT: 294px\" onMouseOut=\"hidedrop();\">';
str+='	<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=99>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"points_breakdown.html\" class=\"small\">Points Breakdown<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"resultsframe.html\" class=\"small\">NorCal Results<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"pointsframe.html\" class=\"small\">NorCal Points<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"cvs_resultsframe.html\" class=\"small\">Central Valley Results<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"cvs_pointsframe.html\" class=\"small\">Central Valley Points<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <\/table>';
str+='<\/DIV>';
str+='<DIV class=\"dropdown\" id=\"drop4\" onMouseOver=\"showdrop(3);\" style=\"LEFT: 392px\" onMouseOut=\"hidedrop();\">';
str+='	<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=99>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"license.html\" class=\"small\">License App<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <tr width=100% HEIGHT=20>';
str+='		<td class=\"droprow\"><a href=\"reserved_numbers.html\" class=\"small\">Reserved Nos<\/a><\/td>';
str+='	  <\/tr>';
str+='	  <\/table>';
str+='<\/DIV>';
str+='<table BORDER=0>';
str+='<tr><td valign=top>';
str+='<table CELLPADDING=0 CELLSPACING=0 BORDER=0 >';
str+='	<tr width=100%>';
str+='		<td><img src=\"images\/home_logobar.jpg\" border=0 align=left HSPACE=0 VSPACE=0 usemap=\"#map1\"><\/td>';
str+='	<\/tr>';
str+='	<tr>';
str+='		<td>';
str+='			<table CELLPADDING=0 CELLSPACING=0 BORDER=0 width=784>';
str+='				<tr>';
str+='					<td><a href=\"index.html\"><img src=\"images\/button_1.jpg\" vspace=0 hspace=0 border=0><\/a><\/td>';
str+='                  <td><a href=\"pdf\/2009-supermotousa-rules-and-regulations.doc\"><img src=\"images\/button_2.jpg\" vspace=0 hspace=0 border=0><\/a><\/td>';
str+='					<td><a href=\"schedule.html\"><img src=\"images\/button_3.jpg\" vspace=0 hspace=0 border=0><\/a><\/td>';
str+='					<td><a href=\"resultsframe.html\"><img src=\"images\/button_4.jpg\" vspace=0 hspace=0 border=0><\/a><\/td>';
str+='					<td><a href=\"license.html\"><img src=\"images\/button_5.jpg\" vspace=0 hspace=0 border=0><\/a><\/td>';
str+='					<td><a href=\"http:\/\/www.supermotoschools.com\/\" target=\"_blank\"><img src=\"images\/button_6.jpg\" vspace=0 hspace=0 border=0><\/a><\/td>';
str+='					<td><a href=\"photos.html\"><img src=\"images\/button_7.jpg\" vspace=0 hspace=0 border=0><\/a><\/td>';
str+='					<td><a href=\"contingency.html\"><img src=\"images\/button_8.jpg\" vspace=0 hspace=0 border=0><\/a><\/td>';
str+='				<\/tr>';
str+='			<\/table>';
str+='		<\/td>';
str+='	<\/tr>';
str+='<\/table>';
str+='<br>';
str+='<table CELLPADDING=0 CELLSPACING=0 BORDER=0 width=784>';
str+='<tr>';
str+='<td>';
document.write(str);
}
writeJS();
