﻿jQuery.noConflict();var Menu = {	home:{		id:'home',		style:{backgroundImage:"url(/images/global_menu/tab_01_head_ov.jpg)"}	},	outline:{		id:'outline',		style:{backgroundImage:"url(/images/global_menu/tab_01_outline_ov.jpg)"}	},	outline_top:{		id:'outline_top',		style:{width:'170px',backgroundColor:'#f2f1d5'}	},	admission:{		id:'admission',		style:{width:'170px',backgroundColor:'#f2f1d5'}	},	lecturer:{		id:'lecturer',		style:{width:'170px',backgroundColor:'#f2f1d5'}	},	access:{		id:'access',		style:{width:'170px',backgroundColor:'#f2f1d5'}	},	inquiry:{		id:'inquiry',		style:{width:'170px',backgroundColor:'#f2f1d5'}	},	activity:{		id:'activity',		style:{backgroundImage:"url(/images/global_menu/tab_01_body_ov.jpg)"}	},	activity_top:{		id:'activity_top',		style:{width:'170px',backgroundColor:'#f2f1d5'}	},	gallery:{		id:'gallery',		style:{backgroundImage:"url(/images/global_menu/tab_01_body_ov.jpg)"}	},	news:{		id:'news',		style:{backgroundImage:"url(/images/global_menu/tab_01_tail_ov.jpg)"}	},	news_top:{		id:'news_top',		style:{width:'170px',backgroundColor:'#f2f1d5'}	}}function setCurrentMenu($){	var path = getCurrentPath();	//alert(path);	for(var i=0; i < path.length; i++){		if(Menu[path[i]] != undefined){			var o = Menu[path[i]];			var t = '#'+o.id;			$(t).css(o.style);			$(t).get(0).firstChild.removeAttr('HREF', 0);			$(t).get(0).firstChild.removeAttr('ONMOUSEOVER', 0);		}	}}function getCurrentPath(){	var arr = [];	var path = location.pathname;	if(path == "/"){		arr.push("home");		return arr;	}else{		var a = path.split('/');		for(var i = 0; i < a.length;i++){			if(a[i] != ""){				arr.push(a[i]);				if(a.length == 3 && i == 1){					arr.push(a[i]+'_top');				}			}		}		return arr;	}}function buttonateImage(){	for(var i=0;i< $('img').length;i++){		var j=$('img').get[i];	}}/*--------------------------- set menu */jQuery(function($){	$("div.entry").createSummary();	//$(window).resize(resizeHandler);	//setCurrentMenu($);	//$("#page-foot").css({position:'relative',top:'20px'});});function resizeHandler(){	}
