﻿$(document).ready( 	function () {	/*	$(".menu ul").hide();*/								$(".body").addClass("body-js");				$(".menu h1").each( function () {			// roll over			$(this).mouseenter( function () {				$(this).css("background-position", "left -17px");			} );			// roll out			$(this).mouseleave( function () {				var h1_menu = $(this).parents("div").get(0);				if ($(h1_menu).hasClass("selected")) return;				$(this).css("background-position", "left 8px");			} );			// click			$(this).click( function () {				var new_menu = $(this).parents("div").get(0);				if ($(new_menu).hasClass("selected")) return;				// close				var current_menu = $(".selected");				if(current_menu) {					$("ul", current_menu).slideUp("fast");					$(current_menu).removeClass("selected");					$("h1", current_menu).css("background-position", "left 8px");				}				// open				$(new_menu).addClass("selected");				$("ul", new_menu).slideDown();			} );		} );			}	);function open_usa(_url){	if (screen.height >= 1024) location.href = _url;	else {		window.open(_url,'','width=1010,height=760,resizable=yes,menubar=yes,location=yes');		window.document.flash.GotoFrame(24);	}}function open_it (_url,_popup){	if (screen.height >= 1024) location.href = _url;	else if(_popup == "true"){		window.open(_url,'','width='+(screen.width-9)+',height='+(screen.height-24-28)+',resizable=yes,left=0,top=0,screenX=0,screenY=0');	}else{		window.open(_url,'','width='+(screen.width)+',height='+(screen.height-24)+',toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes,left=0,top=0,screenX=0,screenY=0');		// self.location.href=_url;	}	window.document.flash.GotoFrame(24);}