// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

var myTWin = window.myTWin;

function OpenMyWin(link,winName)
{
    var retValue=true;
    if (myTWin!=null && !myTWin.closed)
    {
        myTWin.focus();
        myTWin.location.href=link.href;
    }
    else
    {
        myTWin=window.open(link.href, winName, 'scrollbars=1,resizable=1,width=1000,height=700,top=0,left=0,menu=0,navigate=0,statusbar=0');
        if (myTWin==null || typeof(myTWin)=="undefined")
            retValue=false;
        else
        {
            link.target=winName;
            myTWin.focus();
        }
    }
    return retValue;
}



var isMSIE = /*@cc_on!@*/false;
	
if (isMSIE)
	document.write("<link rel='stylesheet' href='/stylesheets/ie.css' type='text/css' media='screen,projection' />");
else
{}