// JavaScript Document
// You may not publish, broadcast, sell or otherwise redistribute these materials for commercial purposes.
function copyRight() {
return confirm('You may not publish, broadcast, sell or otherwise redistribute these materials for commercial purposes.');
}
function soon_message() { 
alert('This item is comming soon!'); 
}
function na_message() { 
alert('This item is not available!'); 
}
function bulletOn(id) {
	document.getElementById(id);
	id.style.visibility='visible';
}
function bulletOff(id) {
	document.getElementById(id);
	id.style.visibility='hidden';
}
function colorOn(id) {
	document.getElementById(id);
	//id.style.backgroundImage='url(../images/bkgrnds/background_HighLight_Lines_diag.png)';
	id.style.backgroundColor='#C0C0C0';
}
function colorOff(id) {
	document.getElementById(id);
	//id.style.backgroundImage='url(../images/bkgrnds/highlight_bg_off.png)';
	id.style.backgroundColor='transparent';
}
function borderOn(id) {
	document.getElementById(id);
	//id.style.backgroundImage='url(../images/bkgrnds/background_HighLight_Lines_diag.png)';
	id.style.backgroundColor='#990066';
}
function borderOff(id) {
	document.getElementById(id);
	//id.style.backgroundImage='url(../images/bkgrnds/highlight_bg_off.png)';
	id.style.backgroundColor='#FFFFFF';
}
function winOpener(URL, scale_y, scale_x) {
	window.open(URL, "popup", "width="+scale_x+", height="+scale_y+", toolbar=no, status=no, resize=no, location=no");
}
/*
function ViewImage(ifile,ix,iy,ititle) { 
	var win;
	var sWidth;
	var sHeight;
	var NS = (document.layers) ? 1 : 0;
	win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=no");
	if (NS) {
	sWidth = win.innerWidth;
	sHeight = win.innerHeight;
	} else {
	sWidth = win.document.body.clientWidth;
	sHeight = win.document.body.clientHeight;
	}
	if(sWidth!=ix || sHeight!=iy) {
	win.close();
	setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
	return;
	}
	win.document.open();
	win.document.write("<html><head><title>"+ititle+"</title>");
	win.document.write("</head><body>");
	win.document.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">');
	win.document.write("<img src="../%2Bifile%2B"></div></body></html>");
	win.document.close();
}*/
