﻿var WWWROOT = "http://" + location.host; //+"/fbapps/";
//var WWWROOT=location.host;
var xmlHttp;
var mstrActualUserPath = WWWROOT + "/auk2/";


function OpenMessageBox(strMsg) {

    showFacebookPopup('popup/MessagePopup.aspx?Message=' + strMsg);
}
function OpenLoginPopup(UserId, Type) {

    openModal(WWWROOT + '/Popup/Login/' + UserId + '/?Type=' + Type, '485', '400');
}

function OpenBookmarkLoginPopup(queryStr, Type) {
    openModal(WWWROOT + '/Popup/Login/0/?Type=' + Type + queryStr, '485', '400');
}
function OpenSendToFriendLoginPopup(queryStr, Type) {
    openModal(WWWROOT + '/Popup/Login/0/?Type=' + Type + queryStr, '485', '400');
}
function UserSignUp() {
    openModal(WWWROOT + '/admin/Popup/SignUpPage/', '780', '400');
}
function UserMainLogin() {
    openModal(WWWROOT + '/admin/Popup/UserLogin/', '375', '400');
}

function SendMessage(UserId) {
    openModal(WWWROOT + '/Popup/SendMessage/' + UserId, '485', '400');
}
function SendRequest(UserId) {

    // showSendFriendPopup('/SendToFriend?ListingId=' + ListingId, 500, 775);
    openModal(WWWROOT + '/Popup/RequestMessage/' + UserId, '140', '350');

}
function FacebookLoginTest() {

    // showSendFriendPopup('/SendToFriend?ListingId=' + ListingId, 500, 775);
   // openModal(WWWROOT + '/FacebookLogin/', '900', '800');
    window.open('http://localhost:9613/FacebookLogin/','windowname1','width=650, height=480');

}
function ForgotPassword() {
    // this.top.closeModal();
    openModal(WWWROOT + '/ForgotPassword/', '230', '400');
    // this.top.closeModal();
}

   
             

