
function op(url){
	if ( url=='../../index.html' ){
	window.self.open('../../index.html', '_parent');
	} else {
	 window.self.open(url, '_self');
	}
}
function op_tickets(url){
	wnd_tickets = window.open(url, 'wnd_tickets', 'width=680,scrollbars=yes,toolbars=no,resizable=yes');
	wnd_tickets.focus();
}
function min(element){
	element.style.borderWidth = "2";
}
function mout(element){
	element.style.borderWidth = "1";
}


function win_closed(winVar) {
    var ua = navigator.userAgent
    if( !!winVar )
        if( ( ua.indexOf('Gecko')!=-1 || ua.indexOf('MSIE 4')!=-1 )
             && ua.indexOf('Win')!=-1 ) 
             return winVar.closed
        else return typeof winVar.document  != 'object'
    else return true
}

function op_galwnd(url){
		galwnd = window.open(url,"gallery","width=520,height=520,scrollbars=no,location=no,menubar=no");
		galwnd.focus();
}

/*
function op_galwnd(url){
if ( win_closed(window.galwnd) ) { 
		galwnd = window.open(url,"gallery","width=520,height=520,scrollbars=no,location=no,menubar=no");
		galwnd.focus();
	} else {
		galwnd.focus();
	}
}
*/

