﻿
$(function() {

    var newLinks = $(".newNetworkLink");
    for (var j = 0; j < newLinks.length; j++) {
        $("#bookmarkItems").add(newLinks[j]);
        $(newLinks[j]).removeClass("newNetworkLink");
    }

    var video = $(".VideoImageWrapper");
    if (video.length == 0) {
        $("#profileMedia").css({
            padding: "5px",
            border: "solid 1px #c4c4c4"
        });
    }

    $(".sf_searchText").val('Enter search term(s)');

    $(".sf_searchText").focus(function() {        
        $(this).val('');
    });

    $(".sf_searchText").blur(function() {
        if ($(this).val() == '')
            $(this).val('Enter search term(s)');
    });

});




 function SignUpImage(imgObject, src) 
 {
     imgObject.src = src;     
 }


 function popupWindow(myURL, winH) {
     myWindow = this.window.open(myURL, "myWindow", "menubar=0, location=0, resizable=yes, scrollbars=yes, width=640, height=" + winH);
     myWindow.moveTo((screen.width / 2) - 320, (screen.height / 2) - (winH / 2));
 }