var linkStart = new Array;
linkStart[0] = "ProfileMain.htm"
linkStart[1] = "ProjectsMain.htm"
linkStart[2] = "TechnologyMain.htm"

var link;

function size_Elements(){
	vBodyWidth = document.body.clientWidth;
		
	document.all.bnTable.width=vBodyWidth;
	document.all.stTable.width=vBodyWidth;
}
	
function size_BTable(){
	var vWinWidth;
	
	vWinWidth = document.body.clientWidth;
		
	document.all.BTable.width=vWinWidth;
}

function size_tnTable(){
	vBodyWidth = document.body.clientWidth;
		
	document.all.tnTable.width=vBodyWidth;
}

function size_stTable(){
	vBodyWidth = document.body.clientWidth;
		
	document.all.stTable.width=vBodyWidth;
}


function size_bnTable(){
	vBodyWidth = document.body.clientWidth;
		
	document.all.bnTable.width=vBodyWidth;
}


function ahref_click(dest) 
{
	parent.frames.content.location = dest;
}

function img_over(x) 
{
	if(x == null){
		x= window;
			x.event.srcElement.src = "images/LoginButtonOver.gif";
	}
}

function img_out(x) 
{
	if(x == null){
		x= window;
			x.event.srcElement.src = "images/LoginButton.gif";
	}
}


function thb_over(x) 
{
	if(x == null)
		x= window;
			x.event.srcElement.className = "ThumbnailOver";
}

function thb_out(x) 
{
	if(x == null)
		x= window;
			x.event.srcElement.className = "Thumbnail";
}

function thb_click(dest) 
{
	parent.frames.content.location = dest;
}

function thbl_click(dest) 
{
	document.location = dest;
}

function sl_over(x) 
{
	this.event.srcElement.src = x;
	this.event.srcElement.style.cursor = "hand";
}

function sl_out(x) 
{
	this.event.srcElement.src = x;
	this.event.srcElement.style.cursor = "default";
}

function sl_click(x){
	if (x == ""){
		x = 0;
	}
	
	parent.frames.values.txtStart.value = linkStart[x];
	document.location = "home.htm"
}

function gotoStart(){
	link = parent.parent.frames.values.txtStart.value;
	
	if (link == ""){
		link = "ProfileMain.htm"
	}
	
	parent.frames.content.location = "content/" + link;
}

function gotoLogin(){
	link = tlp;
	
	if (link == ""){
		link = "ProfileMain.htm"
	}
	
	parent.location = link;
}
function cam_open(URL){
	var win = null;
	win = window.open(URL,"CamWindow","scrollbars=yes,resizable=no,status=no,toolbar=no,location=no,Height=500px,Width=600px, Left=20px,center=yes");
	if(win.window.focus){win.window.focus();}
}

function vimg_over(x) 
{
	if(x == null){
		x= window;
			x.event.srcElement.src = "../../images/v_iconOver.GIF";
			x.event.srcElement.style.cursor = "hand";
	}
}

function vimg_out(x) 
{
	if(x == null){
		x= window;
			x.event.srcElement.src = "../../images/v_icon.gif";
			x.event.srcElement.style.cursor = "default";
	}
}

function vimgdescr_over(x) 
{
	if(x == null){
		x= window;
			x.event.srcElement.className = "vimgdescrOver";
	}
}

function vimgdescr_out(x) 
{
	if(x == null){
		x= window;
			x.event.srcElement.className = "vimgdescr";
	}
}
function r_over(x) 
{
	if(x == null){
		x= window;
			x.event.srcElement.className = "rOver";
	}
}

function r_out(x) 
{
	if(x == null){
		x= window;
			x.event.srcElement.className = "r";
	}
}

