function icx_windowopen() {
	var launchURL = 'http://roomplanner.icovia.com/abodehome/resources/icovia.aspx'
	var planID= "0"
	if(planID.length > 20){
		launchURL = "http://roomplanner.icovia.com/abodehome/resources/icovia.aspx"
	}
	
	var newWindow = null;
	newWindow=window.open(launchURL ,'RP','height=550,width=800,top='+((screen.height/2)-(300))+',left='+((screen.width/2)-(400))+',status=no,toolbar=no,scrollbars=no,resizable=yes,menubar=no'); void(0);
	
	var popUpMsg = "You appear to have a pop-up blocker that prevents the Room Planner from opening. Please enable pop-ups for this site and try again. Thank you.";
	if(!newWindow){
		alert(popUpMsg);
	}
	
}


img1 = new Image(); img1.src = "images/about_pic_1_lg.jpg";
winNum = 0;
newwin = new Array(10);


function openWin(xURL) {
  attrib = "width = 340, height= 214, scrollbars=no";
  newwin[winNum] = window.open(xURL,"window"+winNum,attrib);
  newwin[winNum].creator = self;
  winNum = winNum + 1;
}
function openWin1(xURL) {
  attrib = "width = 265, height= 361, scrollbars=no";
  newwin[winNum] = window.open(xURL,"window"+winNum,attrib);
  newwin[winNum].creator = self;
  winNum = winNum + 1;
}function openWin2(xURL) {
  attrib = "width = 284, height= 384, scrollbars=no";
  newwin[winNum] = window.open(xURL,"window"+winNum,attrib);
  newwin[winNum].creator = self;
  winNum = winNum + 1;
}function openWin3(xURL) {
  attrib = "width = 720, height= 540, scrollbars=no";
  newwin[winNum] = window.open(xURL,"window"+winNum,attrib);
  newwin[winNum].creator = self;
  winNum = winNum + 1;
}function openWin4(xURL) {
  attrib = "width = 265, height= 380, scrollbars=no";
  newwin[winNum] = window.open(xURL,"window"+winNum,attrib);
  newwin[winNum].creator = self;
  winNum = winNum + 1;
}function openWin5(xURL) {
  attrib = "width = 500, height= 375, scrollbars=no";
  newwin[winNum] = window.open(xURL,"window"+winNum,attrib);
  newwin[winNum].creator = self;
  winNum = winNum + 1;
}

function changeColor(x,y)
{
document.getElementById('nav').rows[x].cells
[y].bgColor = "#D3470F"
}

function changeBack(x,y)
{
document.getElementById('nav').rows[x].cells
[y].bgColor = "#999999"
}
