﻿
function addItem(wantown, productID){
        own = true;
        if (wantown == "want") {
            own = false;
        }

        $.ajax({
            type: "POST",
            url: "/WebServices/ClubHouse.asmx/WantOwn",
            data: "{own:'" + own + "',productid:'" + productID + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            error: function(xhr, textStatus, errorThrown) {
            },
            success: function(data) {
            }
        });
    }
    function showLogin() {
        $("#loginDiv").show();
        doLoginSIFR();
    }
    function hideLogin() {
        $("#loginDiv").hide();
    }
    function doLoginSIFR(){
        sIFR.replace(albatross, {
          selector: 'h1',
          css: '.sIFR-root { font-size:25px; color: #faae18; }',
          wmode: 'transparent',
          forceSingleLine: true
        });
        sIFR.replace(albatross, {
            selector: '.grey11',
            css: '.sIFR-root { font-size:11px; color: #8C8C8C; } .sIFR-root a { color:#8C8C8C; text-decoration:none;} .sIFR-root a:hover { color:#8C8C8C; text-decoration:none;}',
            wmode: 'transparent'
        });
        sIFR.replace(albatross, {
            selector: '.login_body',
            css: '.sIFR-root { color: #FFFFFF; font-size:18px; leading:6; text-align:center; } .siFR-root a { color: #faae18; text-decoration:none;} .siFR-root a:hover { color: #faae18; text-decoration:none;}',
            wmode: 'transparent'
        });
    }