// JavaScript Document
function drawDsBox(targetId){
	var oldHTML = document.getElementById(targetId).innerHTML;
	var newHTML = "";
	newHTML += "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='dsBox'>";
	newHTML += "<tr><td class='dsBox_7'></td><td class='dsBox_8'></td><td class='dsBox_9'></td></tr>";
	newHTML += "<tr><td class='dsBox_4'></td><td class='dsBox_5'>" + oldHTML + "</td><td class='dsBox_6'></td></tr>";
	newHTML += "<tr><td class='dsBox_1'></td><td class='dsBox_2'></td><td class='dsBox_3'></td></tr>";
	newHTML += "</table>";
	document.getElementById(targetId).innerHTML = newHTML;
}

function drawDsBoxB(targetId){
	var oldHTML = document.getElementById(targetId).innerHTML;
	var newHTML = "";
	newHTML += "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='dsBoxB'>";
	newHTML += "<tr><td class='dsBoxB_7'></td><td class='dsBoxB_8'></td><td class='dsBoxB_9'></td></tr>";
	newHTML += "<tr><td class='dsBoxB_4'></td><td class='dsBoxB_5'>" + oldHTML + "</td><td class='dsBoxB_6'></td></tr>";
	newHTML += "<tr><td class='dsBoxB_1'></td><td class='dsBoxB_2'></td><td class='dsBoxB_3'></td></tr>";
	newHTML += "</table>";
	document.getElementById(targetId).innerHTML = newHTML;
}

function openwin(eee) {
	var width = 950;
	var height = 500;
	var winxpos = (window.screen.availWidth - width)/2;
	var winypos = (window.screen.availHeight - height)/2;
	window.open (eee, "newwindow", "height="+height+", width="+width+", top="+winypos+", left="+winxpos+", toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no")
}

function openwin2(eee, width, height) {
	var winxpos = (window.screen.availWidth - width)/2;
	var winypos = (window.screen.availHeight - height)/2;
	window.open (eee, "newwindow", "height="+height+", width="+width+", top="+winypos+", left="+winxpos+", toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no")
}

window.onload=function()
{
	for(var ii=0; ii<document.links.length; ii++)
	document.links[ii].onfocus=function(){this.blur()}
}
