/* StartUp */function StartUp(runnable)
{
	$(document).ready(runnable.run);
}
/* External Links */
var ExternalLinks =
{
	run: function()
	{
		$('a[rel="external"]').bind('click', ExternalLinks.click);
		$('a[href^="http:"]').bind('click', ExternalLinks.click);
	},
	click: function(event)
	{
		open(this.href);
		return false;
	}
}
StartUp(ExternalLinks);var ResizeDots = {	run: function()	{		var width = $('body').width()-990;		$('.dots').css('width', width+'px');	}}StartUp(ResizeDots);var MihaMales = {	run: function()	{		$('body.white #logo').css('background', 'url("/media/images/mmk_green.png") no-repeat left top');		$('body.white #header img').attr('src', '/media/images/gmm_text.png');	}}StartUp(MihaMales);var ExtremeSettings = {	run: function()	{		if ((window.location.pathname == '/sl/Obisk/Dostop') || (window.location.pathname == '/en/Visiting/Getting+here')) {			$('.brown #right').css('background', 'url("/media/images/module/dostop_bg.png")');		}				if ((window.location.pathname == '/sl/Obisk/Dobrodo%C5%A1li') || (window.location.pathname == '/en/Visiting/Welcome')){			$('.brown #right').css('background', "url('/media/images/dobrodosli.png') no-repeat -20px 53px");			$('#center .module .content_title').css('display', 'none');			$('#center .module .content_place').css('width', '580px');		}		if (window.location.pathname == '/en/Visiting/Welcome') {			$('.brown #right').css('background', "url('/media/images/welcome.png') no-repeat -20px 53px");		}				if ((window.location.pathname == '/sl/Obisk/Urnik+za+obiskovalce') || (window.location.pathname == '/en/Visiting/Opening+hours')) {			$('.brown #right').css('background', 'none');			$('#center .module h1, #center .module .content_image').css('display', 'none');			$('#center .module h1.child').css('display', 'block').css('text-transform', 'none');			$('#center .module .content_place').css('margin-top', '200px').css('font-size', '1.0909em');			$('#center .module .content_place p').css('padding-left', '20px').css('padding-bottom', '30px').css('line-height', '1.45em');		}		if ((window.location.pathname == '/sl/Obisk/Vstopnina') || (window.location.pathname == '/en/Visiting/Admission+fee')){			$('.brown #right').css('background', "url('/media/images/vstopnina_bg.png') 0px 0px");			$('#center .module h1, #center .module .content_image').css('display', 'none');			$('#center .module h1.child').css('display', 'block').css('text-transform', 'none');			$('#center .module .content_title').css('position', 'absolute').css('top', '10px');			$('#center .module .content_place').css('width', '580px').css('margin-top', '150px').css('font-size', '1.2em');			$('#center .module .content_place table tr td:even').css('text-align', 'right').css('border-right', '5px solid #a67e53').css('padding-right', '10px');			$('#center .module .content_place table tr td:odd').css('padding-left', '10px');			$('#center .module .content_place p').css('width', '490px').css('margin-left', '93px');			$('#contant').css('display', 'block').css('background', '#999').css('width', '160px').css('height', '28px').css('padding-top', '7px').css('text-align', 'center').css('color', '#fff').css('text-decoration', 'none').css('font-size', '1.15em').css('font-weight', 'bold');		}			}}StartUp(ExtremeSettings);function initialize(x, y) {	var latlng = new google.maps.LatLng(x, y);    var myOptions = {    	zoom: 17,    	center: latlng,    	mapTypeId: google.maps.MapTypeId.ROADMAP    };    var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);}
