// JavaScript Document
//left_nav


// call jquery

//document.write("<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js'></script>");

var head= document.getElementsByTagName('head')[0];
var script= document.createElement('script');
script.type= 'text/javascript';
script.src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js';
script.onreadystatechange= function () {
	if (this.readyState == 'complete') start();
}
script.onload= start;
head.appendChild(script);

function start() {

	/*
	var myfilename=window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length); 
	$(".nav_block").each(function () { 
		if($(this).parent().attr("href") === myfilename) { $(this).addClass("current"); }
	}); 
	*/

	$(".nav_block").hover(function () {
		$(this).addClass("mouseover");	
	}, function () {
		$(this).removeClass("mouseover");
	});

}
 document.write('<div id="discountbanner"><img src="images/summersale30percent.png"></div>'); 

document.write('<div class="nav_blocks">');

document.write('<a href="knits.aspx"><div class="nav_block">knits</div></a>');
document.write('<a href="tops.aspx"><div class="nav_block">tops</div></a>');
document.write('<a href="dress.aspx"><div class="nav_block">dresses & skirts</div></a>');
document.write('<a href="pants.aspx"><div class="nav_block">pants</div></a>');
document.write('<a href="jackets.aspx"><div class="nav_block">coats & jackets</div></a>');
/*
 document.write('<a href="shop_yarnie.htm"><div class="nav_block">YARNIE</div></a>');
/*
document.write('<li><a href="jackets.htm"><img src="images/jackets.jpg" name="jackets" width="120" height="30" border="0" id="jackets" onmouseover="MM_swapImage(\'jackets\',\'\',\'images/jackets2.jpg\',1);" onmouseout="MM_swapImgRestore();" /></a></li>');
*/
/*document.write('<li><a href="sweaters.htm"><img src="images/sweaters.jpg" name="sweaters" width="120" height="30" border="0" id="sweaters" onmouseover="MM_swapImage(\'sweaters\',\'\',\'images/sweaters2.jpg\',1);" onmouseout="MM_swapImgRestore();" /></a></li>');
document.write('<li><a href="tops.htm"><img src="images/tops.jpg" name="tops" width="120" height="30" border="0" id="tops" onmouseover="MM_swapImage(\'tops\',\'\',\'images/tops2.jpg\',1);" onmouseout="MM_swapImgRestore();" /></a></li>');
document.write('<li><a href="dress.htm"><img src="images/dressesnskirts.jpg" name="dresses" width="168" height="30" border="0" id="dresses" onmouseover="MM_swapImage(\'dresses\',\'\',\'images/dressesnskirts2.jpg\',1);" onmouseout="MM_swapImgRestore();" /></a></li>');

document.write('<li><a href="pants.htm"><img src="images/pants.jpg" name="pants" width="120" height="30" border="0" id="pants" onmouseover="MM_swapImage(\'pants\',\'\',\'images/pants2.jpg\',1);" onmouseout="MM_swapImgRestore();" /></a></li>');

document.write('<li><a href="coats.htm"><img src="images/coats.jpg" name="coats" width="120" height="30" border="0" id="coats" onmouseover="MM_swapImage(\'coats\',\'\',\'images/coats2.jpg\',1);" onmouseout="MM_swapImgRestore();" /></a></li>');
*/
/*
document.write('<li><a href="skirts.htm"><img src="images/skirts.jpg" name="skirts" width="120" height="30" border="0" id="skirts" onmouseover="MM_swapImage(\'skirts\',\'\',\'images/skirts2.jpg\',1);" onmouseout="MM_swapImgRestore();" /></a></li>');
*/

/*
document.write('<li><a href="shop_yarnie.htm"><img src="images/nav_yarnie.jpg" name="shop_yarnie" width="120" height="30" border="0" id="shop_yarnie" onmouseover="MM_swapImage(\'shop_yarnie\',\'\',\'images/nav_yarnie2.jpg\',1);" onmouseout="MM_swapImgRestore();" /></a></li>');*/
/*
document.write('<li><a><img src="images/shorts.jpg" name="shorts" width="120" height="30" border="0" id="shorts" onmouseover="MM_swapImage(\'shorts\',\'\',\'images/shorts2.jpg\',1);" onmouseout="MM_swapImgRestore();" /></a></li>');
*/
document.write('</div>');


/*
    <ul>
      <li><a href="tops.htm"><img src="images/tops.jpg" name="tops" width="120" height="30" border="0" id="tops" onmouseover="MM_swapImage('tops','','images/tops2.jpg',1);" onmouseout="MM_swapImgRestore();" /></a></li>
      <li><a href="jackets.htm"><img src="images/jackets.jpg" name="tops" width="120" height="30" border="0" id="jackets" onmouseover="MM_swapImage('jackets','','images/jackets2.jpg',1);" onmouseout="MM_swapImgRestore();" /></a></li>
      <li><a href="sweaters.htm"><img src="images/sweaters.jpg" name="sweaters" width="120" height="30" border="0" id="sweaters" onmouseover="MM_swapImage('sweaters','','images/sweaters2.jpg',1);" onmouseout="MM_swapImgRestore();" /></a></li>
	  <li><a href="dresses.htm"><img src="images/dresses.jpg" name="dresses" width="120" height="30" border="0" id="dresses" onmouseover="MM_swapImage('dresses','','images/dresses2.jpg',1);" onmouseout="MM_swapImgRestore();" /></a></li>
      <li><a href="coats.htm"><img src="images/coats.jpg" name="coats" width="120" height="30" border="0" id="coats" onmouseover="MM_swapImage('coats','','images/coats2.jpg',1);" onmouseout="MM_swapImgRestore();" /></a></li>
	  <li><a href="skirts.htm"><img src="images/skirts.jpg" name="skirts" width="120" height="30" border="0" id="skirts" onmouseover="MM_swapImage('skirts','','images/skirts2.jpg',1);" onmouseout="MM_swapImgRestore();" /></a></li>
      <li><a href="pants.htm"><img src="images/pants.jpg" name="pants" width="120" height="30" border="0" id="pants" onmouseover="MM_swapImage('pants','','images/pants2.jpg',1);" onmouseout="MM_swapImgRestore();" /></a></li>
      <li><a href="shorts.htm"><img src="images/shorts.jpg" name="shorts" width="120" height="30" border="0" id="shorts" onmouseover="MM_swapImage('shorts','','images/shorts2.jpg',1);" onmouseout="MM_swapImgRestore();" /></a></li>
    </ul>
	
*/


//$(document).ready(function() {
//	alert("let's help this");
//});

