function launchWindow(URL,width,height) {
	var newHeight = Number(height);
	var newWidth = Number(width);
	//alert(newHeight + newWidth)
	window.open(URL, "pop", "location=0,status=0,scrollbars=0,resizable=0,width="+newWidth+",height="+newHeight) 
}

function moveDiv(myObj,x,y) {
	
	//document.getElementById('content').style.top = 500;
	
	var elem = getElement(myObj);
	//alert(getElement(myObj));
	
	//alert("firefox" + document.layers[myObj]);
	
	// firefox needs px and number as a string
	
	var fireFox = document.getElementById("content");
	fireFox.style.top = "500px";
	
	//thisObj = document.getElementById(myObj);
	//alert(thisObj.style.top)
	//thisObj.style.left = y;//parseInt(thisObj.style.left) + x;// + "px";
	//elem.style.top = 500;//y;//parseInt(thisObj.style.top + y) + "px";
	
	//document.getElementById("content").style.left = "100";
	//document.getElementById("content").style.top = "100";
	
	//alert("working")
	//document.content.left = 50; 
	
}


//BROWSER STUFF
function getElement(id) { 
  if (document.getelementbyid) { 
    alert(1);
	return document.getelementbyid(id);
	
  } else if (document.all) { 
    alert(2);
	return document.all[id]; 
	
  } else if (document.layers) { 
   alert(3);
    return document.layers[id]; 
  } else { 
    alert(4);
	return false; 
	
  } 
} 


/*

function myMoveBy (myObj,x,y){
	alert("working");
	thisObj = document.getElementById(myObj);
	thisObj.style.left = parseInt(thisObj.style.left) + x + "px";
	thisObj.style.top = parseInt(thisObj.style.top) + y + "px";
	document.getElementById("content").style.left = "100";
	document.getElementById("content").style.top = "100";
}
*/