/*--------------Holdlink()---------------*/
function holdlink(id){
	document.getElementById(id).className='current';
}
/*--------------Holdlink()---------------*/


/*-----------Home page flash functions-------------*/
function flashFuncEnter()
{
	open('indexMain.htm');	
	/*window.location='indexMain.htm';*/
}
function flashFuncPortfolio()
{
	window.location='javascript:;';	
}
function flashFuncGreen()
{
	window.location='green.htm';	
}
function flashFuncContactus()
{
	window.location='contactus.htm';	
}


function supportAbhinay()
{
	window.location='support_abhinay.htm';
}
function inNews()
{
	window.location='news.htm';
}
function comingUpEvents()
{
	window.location='comingUpEvents.htm';
}
function pastEvents()
{
	window.location='past_events.htm';
}

function diwali()
	{
		window.open("http://southernsydneydiwali.com/");
	}

function jasdev()
	{	
		//alert(" Hello ");
		window.location='http://www.youtube.com/watch?v=1tY3l0PDAt8';
	}
/*function branches()
{
	window.location='branch.htm';
	//alert('hello');
}*/

function branches()
{
	window.location='contactus.htm';
	//alert('hello');
}
/*-----------Home page flash functions-------------*/

/*------------include function---------------------*/
function include_file(id, url) {
	
  var req = false;
  // For Safari, Firefox, and other non-MS browsers
  if (window.XMLHttpRequest) {
    try {
      req = new XMLHttpRequest();
    } catch (e) {
      req = false;
    }
  } else if (window.ActiveXObject) {
    // For Internet Explorer on Windows
    try {
      req = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
      try {
        req = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (e) {
        req = false;
      }
    }
  }
 var element = document.getElementById(id);
  if (req) {
    // Synchronous request, wait till we have it all
	req.open('GET', url, false);
    req.send(null);
    element.innerHTML = req.responseText;
  } 
}
/*------------include function---------------------*/
/*--------------------------staff page() ----------------------------*/
function show(id){
		if(document.getElementById(id).style.display==''){
			document.getElementById(id).style.display='none';
			document.getElementById(id+'up').style.display='';
			document.getElementById(id+'down').style.display='none';
		}else {
			document.getElementById(id).style.display='';
			document.getElementById(id+'up').style.display='none';
			document.getElementById(id+'down').style.display='';
		}
	 }
/*--------------------------staff page() ----------------------------*/


<!--POPUP function-->
function flashFuncCommingEvents()
{
	var NewWin;
	NewWin=window.open("alex_flyers.htm",'NewWin','height=612,width=700,top=30,left=50,location=no,status=no,toolbar=no,menubar=no,scrollbars=yes');
	NewWin.focus();

}

function eventPopUpAlex()
{
	var NewWin;
	NewWin=window.open("alex_flyers.htm",'NewWin','height=450,width=628,top=30,left=50,location=no,status=no,toolbar=no,menubar=no,scrollbars=yes');
	NewWin.focus();

}

function eventPopUpSangeet()
{
	var NewWin;
	NewWin=window.open("sangeet.htm",'NewWin','height=450,width=628,top=30,left=50,location=no,status=no,toolbar=no,menubar=no,scrollbars=yes');
	NewWin.focus();

}

function member()
{
	var NewWin;
	NewWin1=window.open("member.htm",'NewWin2','height=680,width=400,top=30,left=50,location=no,status=no,toolbar=no,menubar=no,scrollbars=yes');
	NewWin1.focus();

}
function patrons(filePath)
{
	var NewWin;
	NewWin1=window.open(filePath,'NewWin2','height=630,width=770,top=30,left=50,location=no,status=no,toolbar=no,menubar=no,scrollbars=yes');
	NewWin1.focus();

}
function printForm()
{
	Window.print();

}

function course_outline()
{
	var NewWin;
	NewWin=window.open("course-outline.htm",'NewWin','height=650,width=620,top=30,left=50,location=no,status=no,toolbar=no,menubar=no,scrollbars=yes');
	NewWin.focus();

}

function cogratulations()
{
	var NewWin;
	NewWin=window.open("congrates.htm",'NewWin','height=650,width=620,top=30,left=50,location=no,status=no,toolbar=no,menubar=no,scrollbars=yes');
	NewWin.focus();

}

function testimonials()
{
	var NewWin;
	NewWin=window.open("testimonial-1.htm",'NewWin','height=560,width=620,top=30,left=50,location=no,status=no,toolbar=no,menubar=no,scrollbars=yes');
	NewWin.focus();

}

function testimonials_2()
{
	var NewWin;
	NewWin=window.open("testimonial-2.htm",'NewWin','height=560,width=620,top=30,left=50,location=no,status=no,toolbar=no,menubar=no,scrollbars=yes');
	NewWin.focus();

}
