// *******************************
// BOOKINGKALENDER START
// *******************************

var timerID = null;
var browserID = "n";
var Mdr=new Array(13);
 Mdr[1]="Jan";Mdr[2]="Feb";Mdr[3]="Mar";Mdr[4]="Apr";Mdr[5]="Maj";Mdr[6]="Jun";
 Mdr[7]="Jul";Mdr[8]="Aug";Mdr[9]="Sep";Mdr[10]="Okt";Mdr[11]="Nov";Mdr[12]="Dec";
if (navigator.appName.indexOf("Microsoft")>=0){browserID="i";}

function showdate() {
 var now = new Date();
 var YY=now.getFullYear();
 var MM=now.getMonth()+1;
 var MMM=Mdr[MM];
 var DD=now.getDate();
 var timeValue = DD + ". " + MMM + " " + YY;
 document.getElementById("dato").value = timeValue;
}


// *******************************
// BOOKINGKALENDER SLUT
// *******************************


// *******************************
// GALLERIPOPUP SLUT
// *******************************

	hs.graphicsDir = '/cm-fotoarkiv/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.wrapperClassName = 'controls-in-heading';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.85;
 
	// define the restraining box
	hs.useBox = false;
	hs.width = 640;
	hs.height = 480;
	// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 6000,
		repeat: true,
		useControls: true,
		fixedControls: false,
		overlayOptions: {
			opacity: 1,
			position: 'top right',
			hideOnMouseOut: false
		}
	});

// *******************************
// GALLERIPOPUP SLUT
// *******************************



// *******************************
// TOPROTATION START
// *******************************
$(document).ready(function() {
    $('.toprotation').cycle({
		fx: 'fade',
		timeout: 8000,
		speed: 4000
	});
});
// *******************************
// TOPROTATION SLUT
// *******************************

// **********************************************
// DEBAT GEM GRP ABB START
// **********************************************
$(document).ready(function() { 
 $('#abbgem').ajaxForm({ 
    }); 
});
// **********************************************
// DEBAT GEM GRP ABB SLUT
// **********************************************

// **********************************************
// DEBAT GEM EMNE ABB START
// **********************************************
$(document).ready(function() { 
 $('#abbemnegem').ajaxForm({ 
    }); 
});
// **********************************************
// DEBAT GEM EMNE ABB SLUT
// **********************************************


