//no frames
if (window != window.top)
top.location.href = location.href;

//Ic.Shortcut
document.write("<link rel='Shortcut Icon' href='/Y.ico'>");

// no rc
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu() {event.cancelBubble = true;event.returnValue = false;return false;}
function norightclick(e) {if (window.Event) {if (e.which !=1) return false;}
else if (event.button !=1) {event.cancelBubble = true;event.returnValue = false;return false;}}
document.oncontextmenu = nocontextmenu;document.onmousedown = norightclick;
function onKeyDown() {if ( (event.altKey) || ((event.keyCode == 8) &&
(event.srcElement.type != "text" && event.srcElement.type != "textarea" && event.srcElement.type != "password") ) || 
((event.ctrlKey) && ((event.keyCode == 78) || (event.keyCode == 82)) ) || (event.keyCode == 116) )
{event.keyCode = 0;event.returnValue = false;}}


//wo scrolls
function popup(source, w, h) {
var winl=(screen.width - w)/2; var wint=(screen.height - h)/2;
winprops='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,resizable=no';
win=window.open(source, 'Window', winprops);
if (parseInt(navigator.appVersion) >= 4) {win.window.focus();}}

//w scrolls
function popupsc(source, w, h) {
var winl=(screen.width - w)/2; var wint=(screen.height - h)/2;
winprops='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars,resizable';
win=window.open(source, 'Window', winprops);
if (parseInt(navigator.appVersion) >= 4) {win.window.focus();}}

//noresize
function popupnr(source, w, h) {
var winl=(screen.width - w)/2; var wint=(screen.height - h)/2;
winprops='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars,resizable=no';
win=window.open(source, 'Window', winprops);
if (parseInt(navigator.appVersion) >= 4) {win.window.focus();}}

//contact
function contact() {popup('/help/contact.asp',500,394)}

//https
function popuppos(source, w, h) {
var winl=(screen.width - w)/2; var wint=(screen.height - h)/2;
winprops='height='+h+',width='+w+',top='+wint+',left='+winl+',status,scrollbars=no,resizable';
win=window.open(source, 'Window', winprops);
if (parseInt(navigator.appVersion) >= 4) {win.window.focus();}}

//form post
function postnew(w,h) {
var winl=(screen.width - w)/2; var wint=(screen.height - h)/2;
winprops='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,resizable=no';
_win=window.open('','postform.target',winprops);
if(typeof(focus)=="function")
_win.focus();
return true;}