/*var myselect		= $('LocationStoreType1');
var hiddenelem		= $('createType');
//
myselect.onchange	= function() {
	if ((this.options[(myselect.length - 1)].selected) && hiddenelem.style.display == 'none') {
		//hiddenelem.show();
		new Effect.BlindDown(hiddenelem,{duration:0.5});
	} else {
		//hiddenelem.hide();
		new Effect.BlindUp(hiddenelem,{duration:0.5});
	}
};*/

function myDown(elem,dur) {
	var hiddenelem = $(elem);
	if (hiddenelem.style.display == 'none') {
		new Effect.BlindDown(hiddenelem,{duration:dur});
	} else {
		new Effect.BlindUp(hiddenelem,{duration:dur});
	}
}
function openThePopup(url, winName, w, h, toolbar, locaion, directories, satus, menubar, scrollbars, resizable) {
	var myWin;
	if (!myWin || myWin.closed) {
		myWin = window.open('/video','AVvideo','width='+w+',height='+h+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+((screen.height/2)-(h/2))+',left='+((screen.width/2)-(w/2)));
	} else {
		myWin.focus();
	};
	void(0);
}
function openThePopup1() {
	alert('sdfdsfs');
}
