﻿$(document).ready(function() {

    if (Modernizr.input.placeholder) {
        // your placeholder text should already be visible!
    } else {
        // no placeholder support :(
        // fall back to a scripted solution
        $(".placeFill").each(function() {
            var place = $(this).attr("placeholder");
            $(this).val(place);
            $(this).addClass('iClear');
        });
    }

    $(".iClear").click(function() {
        $(this).val("");
    });

});

function popitup(url) {
    if (ISIE()) {
    
        window.open(url, '', 'width=660px,height=450px');
        return false;
    }
}


function ISIE() {
    var ua = window.navigator.userAgent
    var msie = ua.indexOf("MSIE ")
    if (msie > 0)      // If Internet Explorer,
    {
        return true
    }
    else                 // If another browser
    {
        return false
    }
}

