﻿function ShowPlanroom() {
    availwidth = screen.availWidth - 1;
    availheight = screen.availHeight - 1;
    if (availwidth > 1024) {
        availwidth = 1024;
        availheight = 768;
    }
    width = availwidth - 20;
    height = availheight - 45;
    str = "width=" + width + ",height=" + height + ",status=1,scrollbars=1,directories=0,resizable=1,location=0";
    //loc = "http://www.DesignBidBuild.net/AXS/planroom?Mathisons";
    loc = "http://www.designbidbuild.net/mathisons?MathisonsPublicPlanroom";
    // If you want to enable users to enter your planroom without login, uncomment the line below."; 
    // loc="http://www.DesignBidBuild.net/AXS/planroom/auto.html?Mathisons"; 
    PlanRoom = window.open(loc, "Planroom", str);
    PlanRoom.opener = self;
    PlanRoom.moveTo(1, 1);
} 

function SendFiles() {
    availwidth = screen.availWidth - 1;
    availheight = screen.availHeight - 1;
    if (availwidth > 1024) {
        availwidth = 1024;
        availheight = 768;
    }
    width = availwidth - 20;
    height = availheight - 45;
    str = "width=" + width + ",height=" + height + ",status=1,scrollbars=1,directories=0,resizable=1,location=0";
    loc = "http://www.designbidbuild.net/AXS/sendafile?Mathisons";
    SendFile = window.open(loc, "SendAFile", str);
    SendFile.opener = self;
    SendFile.moveTo(1, 1);
}
