// JavaScript Document

function change(sel,xx,href){
	document.clintimage.src = "portfolio/"+sel+".jpg";
	document.clintimage.alt = "XEL ONLINE-Web Site Client."
	textmessage(xx);
	var theElmm
	if(href)
		theElmm ='<a href="'+href+'" target="new" onMouseOver="mover('+"'site'"+')" onMouseOut="mout('+"'site'"+')"><b>Launch Site ... </b></a>'
	else
		theElmm ='<b>Under Construction.</b>'
	
	theElm = document.getElementById('launch_site');
	theElm.innerHTML=theElmm;
	return false
}

function winopen(site){
	url = site+".html"
	img = site+"_b.jpg"
	MM_preloadImages(img)
	var X = 150;
	var Y = 7;
	var W = 500;
	var H = 430;
	var s="left="+X+",top="+Y+",width="+W+",height="+H;
	g_childWindow = window.open(url,'TheWindow');
	g_childWindow.focus();
	return false;
}
function winopen_sample(site,imgno){
	g_childWindow = window.open('imagepath.html?imgno='+imgno+'&img='+site,'TheWindow','resizable=0,scrollbars=1');
	//theElmm ='<img src="'+site'+" width="500" height="400">';
	//g_childWindow.document.frm.page.value = imgno;
	//g_childWindow.document.getElementById('page').value = imgno;
	//g_childWindow.document.getElementById('clientimage').src = site;
	//g_childWindow.document.clientimage.src.value = site;
	
	
	return false;
}
