function rollOver(image, event) {
	if(event=='over')
		imgOver(image.id);
	else
		imgOut(image.id);
}

function imgOver(id) {
	document.images[id].src=document.images[id].src.substr(0,
		document.images[id].src.indexOf("_off."))+"_over."+
		document.images[id].src.substr(document.images[id].src.indexOf("_off.")+5,
		document.images[id].src.length-1);
}

function imgOut(id) {
	document.images[id].src=document.images[id].src.substr(0,
		document.images[id].src.indexOf("_over."))+"_off."+
		document.images[id].src.substr(document.images[id].src.indexOf("_over.")+6,
		document.images[id].src.length-1);
}

function openWin() {
	var wAS=3
	var w=[336, 600, 800];
	var opt=[
		"toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=",
		"",
		",height=",
		500
	];
	if(openWin.arguments.length==1)
		opt[1]=w[0];
	else if(parseInt(openWin.arguments[1])>=wAS)
		opt[1]=parseInt(openWin.arguments[1]);
	else
		opt[1]=w[parseInt(openWin.arguments[1])];
	if(openWin.arguments.length >= 2)
		opt[3]=parseInt(openWin.arguments[2]);
	if(openWin.arguments.length >= 1)
		return window.open(openWin.arguments[0], "", opt[0]+opt[1]+opt[2]+opt[3]);
}

function cutIn(strData, sep) {
	var dataSet=new ActiveXObject("Scripting.Dictionary");
	var newS=strData;
	var nAt=0;
	var Cnt=0;
	while(newS!="") {
		nAt=newS.indexOf(sep, 0);
		if(nAt==-1) {
			dataSet.Add(Cnt++, newS);
			newS="";
		} else {
			dataSet.Add(Cnt++, newS.substring(0, nAt));
			newS=newS.substring(nAt+sep.length, newS.length);
		}
	}
	return dataSet;
}

function getMonthName(nMonth) {
	switch(nMonth) {
		case 0: return "Jan";
		case 1: return "Feb";
		case 2: return "Mar";
		case 3: return "Apr";
		case 4: return "May";
		case 5: return "Jun";
		case 6: return "Jul";
		case 7: return "Aug";
		case 8: return "Sep";
		case 9: return "Oct";
		case 10: return "Nov";
		case 11: return "Dec";
		default: return "";
	}
}

