// JavaScript Document







var ddmenuitem = 0;

function shownav()
{  $(this).addClass("hover");
   ddmenuitem = $(this).find('ul').css('visibility', 'visible');}
function closenav()
{  if(ddmenuitem) ddmenuitem.css('visibility', 'hidden'); $(this).removeClass("hover");}


$(document).ready(function()
{  $('#nav > h6').bind('mouseover', shownav)
   $('#nav > h6').bind('mouseout',  closenav)
   
   
     $('#nav > h6').hover(
  function () {
    $(this).fadeTo("fast",0.25,function () {
    $(this).fadeTo("fast",1);
  });
  },function () {
    
  }

); 
   
   
   
   
      $('.thumb').hover(
  function () {
    $(this).fadeTo("fast",0.25,function () {
    $(this).fadeTo("fast",1);
  });
  },function () {
    
  }) 

      $('.thum').hover(
  function () {
    $(this).fadeTo("fast",0.25,function () {
    $(this).fadeTo("fast",1);
  });
  },function () {
    
  }) 

      $('.bnt > li').hover(
  function () {
    $(this).fadeTo("fast",0.25,function () {
    $(this).fadeTo("fast",1);
  });
  },function () {
    
  }) 



 $(".thumb:odd").css("background","EBF8FF")
   
   
   
   
   }
   
   
   

   
   
   );





































// JavaScript Document
function by(id){
	if(!document.getElementById)return false;
	if(typeof id==="string"){
		if(document.getElementById && document.getElementById(id)) {
			return document.getElementById(id);
			}
		else if (document.all && document.all(id)) {
			return document.all(id);
			}
		else if (document.layers && document.layers[id]) {
			return document.layers[id];
			}
		else{
			return false;
			}	
		}
		else{return id;}
	}
	


var tab = {
	tabget:function(){
		for(var i=0;i<arguments.length;i++){
			var tabs = by(arguments[i]);
			if(!tabs || !document.getElementsByTagName) return false;
			var tabList = tabs.getElementsByTagName("h6"); 
			for(var j=0;j<tabList.length;j++){
				var theTab = tabList[j];
				if(theTab.parentNode!=tabs) continue;
				theTab.onmouseover = function(){
					if (this.className == "off") {
						tab.tabshow(this.parentNode,this);
						}
					return false;}
				}
			}		
		},
	tabshow:function(par,tabs){
		if(!par || !document.getElementsByTagName) return false;
		var theH6 = par.getElementsByTagName("h6");
		var theDiv = par.getElementsByTagName("div");
		var Div = new Array ();
		var H6 = new Array ();
		var d = 0;
		var h = 0;
		for(var i = 0;i<theDiv.length;i++){
			if(theDiv[i].parentNode!=par) continue;
			Div[d] = theDiv[i];
			d++;
			}
		for(var i = 0;i<theH6.length;i++){
			if(theH6[i].parentNode!=par) continue;
			H6[h] = theH6[i];
			h++;
			}
		if(d == h){
			for(var i=0;i<d;i++){
				if(H6[i]==tabs){
					H6[i].className = "on";
					Div[i].className = "on";
					}
				else{
					H6[i].className = "off";
					Div[i].className = "off";
					}	
				}
			} 
		}
	}


























