﻿// JavaScript Document
// open Starting Guide in 2 windows:
// smarter version will get arguments of size and position.
function loadURLs(demoURL,guideURL)
{
//constants
wSbars=18;
cancelOverLap = 10;
h = (screen.availHeight)*0.95;
//Guide from right width
w2 = 160 + wSbars; //w2 = 240 + wSbars
//Left Screen
w1 = screen.availWidth - w2 - 20;
//distance from left of the Guide
guideLeft= w1 + cancelOverLap

settings1 = 'height=' + h + ',width=' + w1 + ',top=0,left=0,scrollbars=0,toolbar=0, location=0, directories=0, status=0,menubar=0,resizable=1,dependent=1,copyhistory=0';
//left=' + l2 + '
settings2 = 'height=' + h + ',width=' + w2 + ',top=0,left=' + guideLeft + ',scrollbars=1, toolbar=0, location=0, directories=0, status=0,menubar=0,dependent=1,copyhistory=0';
//settings2 = 'height=' + h + ',width=' + w2 + ',top=0,left=' + guideLeft

demoWin = window.open(demoURL,'demo',settings1);
guideWin = window.open(guideURL,'guide',settings2);
}
