function highlight(id)
{
	document.getElementById(id).style.backgroundColor = '#6D93BA';
}

function unhighlight(id)
{
	document.getElementById(id).style.backgroundColor = '#336699';
}

function showContent(id)
{
	document.getElementById("content_heading").innerHTML = document.getElementById(id).innerHTML; 
	document.getElementById("content_data").innerHTML = document.getElementById(id+"_content").innerHTML;
}

function init()
{
	document.getElementById("content_heading").innerHTML = document.getElementById("home").innerHTML;
	document.getElementById("home_content").innerHTML = document.getElementById("content_data").innerHTML;
	document.getElementById('content_all').style.display = 'none';
	
	/* HighSlide Specific Javascript Code */
	hs.graphicsDir = 'Scripts/highslide/graphics/';
	hs.outlineType = 'outer-glow';
	hs.wrapperClassName = 'outer-glow';
}

function loadGTalkBadge()
{
	document.getElementById("gtalkbadge").innerHTML ='<iframe src="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnmjcemgq5lp34du8dtjc7pod8rer6mvq2grmaluoekbhhehu2n907lol1cmrn4noijvlv66rcfjgj9n2m6o9s8ccaq4nceovv719thalou7mmb5sepqd15eo29btfcdbgoitg6ubapmc62qoumn4j55acrd3hlsh&amp;w=300&amp;h=18" frameborder="0" height="18"  marginwidth="0px" marginheight="0px"></iframe>';
}

function loadResumePreview()
{
	//document.getElementById("resume_preview").innerHTML ='<iframe src ="Docs/ronak_resume_fall_2010.pdf" width="100%" height="850">';
	document.getElementById("resume_preview").innerHTML ='<iframe height="700" width="90%" align="bottom" src="http://docs.google.com/gview?url=http://www-scf.usc.edu/~rsankhla/Docs/ronak_resume_fall_2010.pdf&amp;embedded=true">';
}
