﻿var addthis_pub = "1011web";
var addthis_brand = "FundShareTV";
var addthis_options = 'favorites, email, facebook, twitter, google, buzz, digg, myspace, linkedin, more';


jQuery.noConflict();
jQuery(document).ready(function() {
    jQuery("input[type='text'], input[type='password'], select, textarea").blur(function() {
        jQuery(this).css("border-color", "silver");
        jQuery(this).css("background-color", "white");
    });
    jQuery("input[type='text'], input[type='password'], select,textarea").focus(function() {
        jQuery(this).css("border-color", "#0d4067");
        jQuery(this).css("background-color", "#effaff");
    });
    /*jQuery("input[type='submit']").hover(
      function() {
          jQuery(this).css("background-color", "#418a52");
      },
      function() {
          jQuery(this).css("background-color", "#0d4067");
      }
    );*/

});


var NewWin = null
function OpenWin(iWidth, iHeight, sURL) {
    iWidth = iWidth + 50; iHeight = iHeight + 100;
    if (navigator.appVersion.indexOf('MSIE 3') > -1 || parseInt(navigator.appVersion.substring(0, 1)) <= 2) { window.open(sURL); }
    else {
        if (NewWin == null) { NewWin = window.open(sURL, 'NewWindow', 'width=' + iWidth + ',height=' + iHeight + ',resizable,scrollbars'); }
        else { if (NewWin.closed) { NewWin = window.open(sURL, 'NewWindow', 'width=' + iWidth + ',height=' + iHeight + ',resizable,scrollbars'); } else { NewWin.location = sURL; NewWin.focus(); } } 
    }
}
