// Google Analytics
 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-6561412-1']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
//*******************************
// site by Margherita spa
// code by chocLABS inc
//*******************************

// global variables
var myDoc=document

// purpose: To navigate to the URL contained in the value of the option
// usage: doesUrl(this) 
function doesUrl(obj) {
		if (obj.selectedIndex != 0) 
		location.href=obj.options[obj.selectedIndex].value;
}


// write the date in Italian
function doesDate() {
	var now = new Date();
	var year= now.getYear();if (year < 1000) year += 1900;
	nameDay = new Array('ZONDAG','MAANDAG','DINSDAG','WOENSDAG','DONDERDAG','VRIJDAG','ZATERDAG');
	nameMth = new Array('JANUARI','FEBRUARI','MAART','APRIL','MEI', 'JUNI', 'JULI', 'AUGUSTUS', 'SEPTEMBER', 'OKTOBER', 'NOVEMBER','DECEMBER');
	myDoc.write('<span class="txtwhiteboldsm">'+ nameDay[now.getDay()] + " " + now.getDate() + " " + nameMth[now.getMonth()] + " " + year+'</span>');
}

// write the date in Italian
function doesDatebig() {
	var now = new Date();
	var year= now.getYear();if (year < 1000) year += 1900;
	nameDay = new Array('Zondag','Maandag','Dinsdag','Woensdag','Donderdag','Vrijdag','Zaterdag');
	nameMth = new Array('januari','februari','maart','april','mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november','december');
	myDoc.write('<span class="header">'+ nameDay[now.getDay()] + " " + now.getDate() + " " + nameMth[now.getMonth()] + " " + year+'</span>');
}

/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
  function unFrame() {
    if (self != top)
      top.location.href = self.location.href;
}

function jumpto(x){

if (document.dropdownmenu.jumpmenu.value != "null") {
document.location.href = x
}
}
