var menu = new Array("au_menu", "participate_menu");

var timeon;

function menuOver(name) {
	clearTimeout(timeon);
	hideAllMenus(name);
	showHideLayer(name, 'show');
}

function menuOut() {
	timeon = setTimeout("oriStatus()", 100);
}

function showHideLayer(name, status) {
	ele = document.getElementById(name);
	if (ele.style) {
    	ele = ele.style;
    	status = (status =='show') ? 'visible' : (status=='hide') ? 'hidden' : status;
   	}
	ele.visibility = status;
}

function oriStatus() {
	hideAllMenus();
	if (cmenu) showHideLayer(cmenu, 'show');
}
function setCurrentMenu(cmenu,no){
	showHideLayer(cmenu, 'show');
	document.getElementById(no).className="menuNumOn";
}
function hideAllMenus(except) {
	for (i = 0; i < menu.length; i++) {
		if (menu[i] != except) {
			showHideLayer(menu[i], 'hide');
		}
	}
}
function restore(name, filename) {
	obj = document.getElementById(name);
	if (obj != null)
		obj.src = filename;
}

function swap(name, filename) {
	obj = document.getElementById(name);
	if (obj != null)
		obj.src = filename;
}
function changeContent(pic){
	if(pic == 0){
	objContent =document.getElementById("content");
	document.getElementById("content").innerHTML ="<H2>Prime movers of backend.</H2><P id=coreContent>The team is led by Gautam Hegde, an engineer entrepreneur with a rich academic and industry background. A postgraduate from the Indian Institute of Technology, Delhi, Gautam Hegde is also a gold medallist alumni from the first batch of postgraduates from the International Institute of Information Technology, Bangalore. Currently he is a member of the governing council of the Institute.</P> <P>With nearly two decades of experience as Senior Executive in some of the top corporates in India, Gautam Hegde, is the driving force behind Backend&#8217;s software development programme along with a talented team of software engineers and IT professionals.</P>"
	}
	if(pic==1){
		objContent =document.getElementById("content");
		document.getElementById("content").innerHTML ="<H2>Prime movers of backend : <b>Prof. Krishnananda Hegde </b></H2><P><b>Krishnananda Hegde</b> is the former Editor of an English Daily, Morning News. He was also a Professor of Mass Communication and a career officer of the Indian Information Service. He has worked in radio news, advertising and visual publicity, press relations and PR and travelled widely in India, Europe and the U.S.A. The study of ancient cultures is his special area of interest.</P><P>Krishnananda Hegde's latest work and his seventh book examines the<b><u> four Ws of Bhagavad Gita</u></b><br>WHEN was it written ? <br>WHO wrote it? <br>WHERE was it written?<br>WHY was it written?<br><b><br><a href=\"BHAGAVAD_GITA.pdf\" target=\"_blank\"><font size=1>BHAGAVAD GITA: THE DIALOGUE </font>   (Click here to read the e-Book)</a> </P><P>New Research Work including simple English Rendering of 701 slokas.</P>";
		
	}
	if(pic==2){
		objContent =document.getElementById("content");
		document.getElementById("content").innerHTML ="<H2>Prime movers of backend : <b>Prof. S.Sadagopan </b> </H2><P><b>Prof Sadagopan </b>is the founder Director of the <a href=\"http://www.iiitb.ac.in/management/man_govbody.htm\" target = \"_blank\">International Institute of Information Technology, Bangalore </a> (a deemed University). This new generation Institute, promoted jointly by the Government of Karnataka & IT industry in Bangalore commenced its operations on September 1999. Professor Sadagopan has been teaching at two premier educational Institutes in India, namely, the Indian Institute of Technology, Kanpur, (IITK) during 1980 - 1995 and the Indian Institute of Management, Bangalore, (IIMB) during 1995-1999.</p>"
	}
}


function preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

preloadImages(
	"images/btn_aboutus_off.gif",
	"images/btn_products_off.gif",
	"images/btn_services_off.gif",
	"images/btn_consulting_off.gif",
	"images/btn_clientlist_off.gif",
	"images/btn_aboutus_off.gif"
	);
/*function showPopUp(on, name, popup) {
	clearTimeout(timeon);
	hideAllMenus(name);
	o = document.getElementById(on);
	n = document.getElementById(name);
	pp = document.getElementById(popup);
	pp.style.left = parseInt(o.style.left) + n.offsetLeft;
	pp.style.top = parseInt(o.style.top) + n.offsetTop - parseInt(pp.style.height);
	al = parseInt(pp.style.width) + parseInt(pp.style.left) - parseInt(o.style.left) - parseInt(o.offsetWidth);
	if ( parseInt(al) > 0 ) {
		pp.style.left = parseInt(pp.style.left) - parseInt(al);
	}
	pp.style.visibility = 'visible';
}

function restore(name, filename) {
	obj = document.getElementById(name);
	if (obj != null)
		obj.src = filename;
}

function swap(name, filename) {
	obj = document.getElementById(name);
	if (obj != null)
		obj.src = filename;
}
function changeContent(pic){
	if(pic == 0){
	objContent =document.getElementById("content");
	document.getElementById("content").innerHTML ="<H2>Prime movers of backend.</H2><P id=coreContent>The team is led by <a href = 'CV_of_Gautam_Hegde.pdf' target='_blank'>Gautam Hegde</a>, an engineer entrepreneur with a rich academic and industry background. A postgraduate from the Indian Institute of Technology, Delhi, Gautam Hegde is also a gold medallist alumni from the first batch of postgraduates from the International Institute of Information Technology, Bangalore. Currently he is a member of the governing council of the Institute.</P> <P>With nearly two decades of experience as Senior Executive in some of the top corporates in India, Gautam Hegde, widely travelled in U.S.A, Europe, Southeast Asia and East Africa, is the driving force behind Backend&#8217;s software development programme along with a talented team of software engineers and IT professionals.</P>"
	}
	if(pic==1){
		objContent =document.getElementById("content");
		document.getElementById("content").innerHTML ="<H2>Prime movers of backend : <b>Prof. Krishnananda Hegde </b></H2><P><b>Krishnananda Hegde</b> is the former Editor of an English Daily, Morning News. He was also a Professor of Mass Communication and a career officer of the Indian Information Service. He has worked in radio news, advertising and visual publicity, press relations and PR and travelled widely in India, Europe and the U.S.A. The study of ancient cultures is his special area of interest.</P><P>Krishnananda Hegde's latest work and his seventh book examines the<b><u> four Ws of Bhagavad Gita</u></b><br>WHEN was it written ? <br>WHO wrote it? <br>WHERE was it written?<br>WHY was it written?<br><b><br><a href=\"BHAGAVAD_GITA.pdf\" target=\"_blank\"><font size=1>BHAGAVAD GITA: THE DIALOGUE </font>   (Click here to read the e-Book)</a> </P><P>New Research Work including simple English Rendering of 701 slokas.</P>";
		
	}
	if(pic==2){
		objContent =document.getElementById("content");
		document.getElementById("content").innerHTML ="<H2>Prime movers of backend : <b>Prof. S.Sadagopan </b> </H2><P><b>Prof Sadagopan </b>is the founder Director of the <a href=\"http://www.iiitb.ac.in/management/man_govbody.htm\" target = \"_blank\">International Institute of Information Technology, Bangalore </a> (a deemed University). This new generation Institute, promoted jointly by the Government of Karnataka & IT industry in Bangalore commenced its operations on September 1999. Professor Sadagopan has been teaching at two premier educational Institutes in India, namely, the Indian Institute of Technology, Kanpur, (IITK) during 1980 - 1995 and the Indian Institute of Management, Bangalore, (IIMB) during 1995-1999.</p>"
	}
}


function preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
*/
/*preloadImages(
	"images/btn_aboutus_off.gif",
	"images/btn_products_off.gif",
	"images/btn_services_off.gif",
	"images/btn_consulting_off.gif",
	"images/btn_clientlist_off.gif",
	"images/btn_aboutus_off.gif"
	);*/
