<!--
function makesure(message) {
	if (confirm(message)) {
		return true;
	} else {
		return false;
	}
}
function selChd(jumpsection, link) {
	var selIdx = jumpsection.selectedIndex;
	 var el = jumpsection.options[selIdx].value;
	location.href=link + '-' + el + '.html';
}
function selChoc(jumpsection, link) {
	var selIdx = jumpsection.selectedIndex;
	var el = jumpsection.options[selIdx].value;
	location.href=link + '.html?order=' + el;
}
function selChoe(jumpsection, link) {
	var selIdx = jumpsection.selectedIndex;
	var el = jumpsection.options[selIdx].value;
	location.href=link + '.html?order=' + el;
}
function show(divID) {
	document.getElementById(divID).style.visibility = 'visible';
	document.getElementById(divID).style.zIndex = 1000;
} 
function hide(divID) { 
	document.getElementById(divID).style.visibility = 'hidden';
	document.getElementById(divID).style.zIndex = 10;
}
function show1(divID) {
	document.getElementById(divID).style.display = 'block';
} 
function hide1(divID) { 
	document.getElementById(divID).style.display= 'none';
}

// GENERAL UTILITY FUNCTIONS CALLED FROM MULTIPLE EXTERNAL JS
var utilsLib = {
	getPageScroll: function()
	{
		var yScroll;
		if(self.pageYOffset)
		{
			yScroll = self.pageYOffset;
		}
		else if(document.documentElement && document.documentElement.scrollTop) // EXPLORER 6
		{
			yScroll = document.documentElement.scrollTop;
		}
		else if(document.body) // ALL OTHER EXPLORERS
		{
			yScroll = document.body.scrollTop;
		}
		arrayPageScroll = new Array('',yScroll);
		return arrayPageScroll;
	},
	getPageSize: function()
	{
	var xScroll, yScroll;
	if (window.innerHeight && window.scrollMaxY) {	
		xScroll = document.body.scrollWidth;
		yScroll = window.innerHeight + window.scrollMaxY;
	} else if (document.body.scrollHeight > document.body.offsetHeight){ // ALL BUT EXPLORER MAC
		xScroll = document.body.scrollWidth;
		yScroll = document.body.scrollHeight;
	} else { // EXPLORER MAC...WOULD ALSO WORK IN EXPLORER 6 STRICT, MOZILLA AND SAFARI
		xScroll = document.body.offsetWidth;
		yScroll = document.body.offsetHeight;
	}
	var windowWidth, windowHeight;
	if (self.innerHeight) {	// ALL EXCEPT EXPLORER
		windowWidth = self.innerWidth;
		windowHeight = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) { // EXPLORER 6 STRICT MODE
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
	} else if (document.body) { // OTHER EXPLORERS
		windowWidth = document.body.clientWidth;
		windowHeight = document.body.clientHeight;
	}
	// FOR SMALL PAGES WITH TOTAL HEIGHT LESS THEN HEIGHT OF THE VIEWPORT
	if(yScroll < windowHeight){
		pageHeight = windowHeight;
	} else { 
		pageHeight = yScroll;
	}
	// FOR SMALL PAGES WITH TOTAL WIDTH LESS THEN WIDTH OF THE VIEWPORT
	if(xScroll < windowWidth){	
		pageWidth = windowWidth;
	} else {
		pageWidth = xScroll;
	}
	arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) 
	return arrayPageSize;
	}
}
// COUNT DOWN TIMER
function timecountdown(){
	this.element = false
	this.seconds = 20;
	this.milisec = 0;
	this.hold = false;
	this.stopcount = function(){}
	this.holdcount = function(){this.hold = true;}
	this.unhold = function(){this.hold = false;}
	this.countdown = function(){
		if(this.hold == false){
			if (this.milisec <= 0){
				this.milisec = 9;
				this.seconds -= 1;
			} 
			if (this.seconds <= -1){
				this.milisec = 0;
				this.seconds = 0;
				this.hold = true;
				this.stopcount();
			}
			else this.milisec -= 1;
		}
		this.display();
		var mthis = this;
		setTimeout( function(){mthis.countdown();}, 100, mthis);
	}
	this.display = function (){
		if(this.element)document.getElementById(this.element).innerHTML = this.seconds + '.' + this.milisec;
	}
}
//-->
