// https://developer.mozilla.org/en/DOM/window.open#Best_practices
//https://developer.mozilla.org/en/DOM/window.open#Avoid_resorting_to_window.open%28%29
//   pop650x450    AK
// https://developer.mozilla.org/en/DOM/window.open#Best_practices
var WindowObjectReference = null; // global variable

if(WindowObjectReference == null || WindowObjectReference.closed)  //  if WindowObjectReference equals null or closed
  {

function pop650x450(url, secondaryWindow)   
  {
    var WindowObjectReference = window.open(url,
   "secondaryWindow", 
   "width=650,height=550,resizable=yes,scrollbars=no,status=no,toolbar=no,titlebar=no");
   WindowObjectReference.focus();
	}
}

//   pop650x700    AK// https://developer.mozilla.org/en/DOM/window.open#Best_practices
var WindowObjectReference = null; // global variable

if(WindowObjectReference == null || WindowObjectReference.closed)  //  if WindowObjectReference equals null or closed
  {

function pop650x700 (url, secondaryWindow)   
  {
    var WindowObjectReference = window.open(url,
   "secondaryWindow", 
   "width=650,height=700,resizable=yes,scrollbars=no,status=no,toolbar=no,titlebar=no");
   WindowObjectReference.focus();
	}
}

//   pop750x400    AK
var WindowObjectReference = null; // global variable

if(WindowObjectReference == null || WindowObjectReference.closed)  //  if WindowObjectReference equals null or closed
  {

function pop750x400 (url, secondaryWindow)   
  {
    var WindowObjectReference = window.open(url,
   "secondaryWindow", 
   "width=750,height=400,resizable=1,scrollbars=0,status=0,toolbar=0,titlebar=0");
   WindowObjectReference.focus();
	}
}

// pop900x480  	AK
var WindowObjectReference = null; // global variable

if(WindowObjectReference == null || WindowObjectReference.closed) //  if WindowObjectReference equals null or closed
  {

function pop900x480 (url, secondaryWindow)   
  {
    var WindowObjectReference = window.open(url,
   "secondaryWindow", 
   "width=900,height=480,resizable=1,scrollbars=0,status=0,toolbar=0,titlebar=0,menubar=0,location=0");
   WindowObjectReference.focus();
	}
}


//  	Accordion
		 $(function() {
		$("#accordion").accordion({
			event: "click"
		});
	});
		 
		 
		 
		  $(function() {
		$("#accordion_2").accordion({
			event: "click"
		});
	});
 
// Tabs js in PastEvent Page