// JavaScript Document
$(document).ready(
	function(){
		$(".handle3").mouseover(
			function(){
				//jQuery(this).animate({width: 'show'});
					$(this).next(".content_t").animate({width: 'show'});
					$(".ad_right_touming").hide();
					var divArray = $(".handle3");
					if(divArray!=null){
						for(var i =0; i<7;i++){
						    	if($(this).html()!=$(divArray[i]).html()){
									//$(this).parent(".test3_x").width(29);
					    			$(divArray[i]).next(".content_t").animate({width: 'hide'});
								}
						}
					}
			}
		)
		
		$(".ad_left").mouseover(
			function(){
				var divArray = $(".handle3");
				if(divArray!=null){
					for(var i =0; i<7;i++){
						//console.debug($(this),$(divArray[i]));
						$(divArray[i]).next().animate({width: 'hide'});
					}
				}
			$(".ad_right_touming").show();
			}
		)
		
		$(".close_img").click(
			function(){
				$("#allsite").animate({height:'toggle',opacity: 'toggle'});
			}
		)
		
	}
)
/*function allsite_close({
	$(".close_img").click(
		$("#allsite").hidden();
		)
	}
)*/
function f_open_window_max( aURL, aWinName )
{
   var wOpen;
   var sOptions;
   sOptions = 'status=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes,toolbar=yes';
   sOptions = sOptions+',width=' + (screen.availWidth - 10).toString();
   sOptions = sOptions+',height=' + (screen.availHeight - 122).toString();
   sOptions = sOptions + ',screenX=0,screenY=0,left=0,top=0';
   window.open(aURL, aWinName,sOptions );
}
