﻿// for transparency on drop down navigation

function fixHW(){
	//$('.submenu li:eq('+0+')').css('height');//get height
	//firstDDWidth=$('.submenu li:eq('+0+')').css('width');//get width
	//$(this).find('ul').html()
	//alert($(this).find('ul').height());
	//alert($(".ie6FixFirst").height())
	fh=$(this).find('ul').height();
	fw=$(this).find('ul').width();
	//$(this).find('ul').prepend('<div class="transparents" style="height:'+fh+'px; width:'+fw+'px; position:absolute; background:#fff; z-index:1;"></div>');//
	
	$(this).find('.transparentw').css({height:fh+"px", width:fw+"px", opacity:.75, position:"absolute", zIndex:1, background:'#fff', marginTop:'20px'});
	
	$(this).unbind('mouseover', fixHW)
	}

$(document).ready(function(){

	$('.menuCSS > li').bind('mouseover', fixHW)
   $('.menuCSS').bind('mouseout',  fixHW)


//alert(firstDDWidth+" "+firstDDHeight)

})
