// library for stagers choice javascript

var newWindow ;
var logoImg = new Array(1) ;

logoImg[0] = new Image(372,96) ;
logoImg[0].src = "weblogo2.gif" ;

function viewAboutStagersChoice(whichOne) {
	newWindow = window.open("","","width=500,height=350, resizable=yes") ;
	newWindow.moveTo(((screen.availWidth-500)/2),((screen.availHeight-350)/2)) ;
	newWindow.document.write("<html><head><title>About Stager&#039s Choice...</title>") ;
	newWindow.document.write("<LINK REL = stylesheet TYPE = text/css href=")
	if (whichOne == "design") {newWindow.document.write("../")}
	newWindow.document.write("stagers.css></head>") ;
	if (whichOne == "design") {
		newWindow.document.write("<body bgcolor=#663366 link=#663366 vlink=#663366 alink=#000066>")
	}
	else {
		newWindow.document.write("<body bgcolor=#cc6666 link=#660033 vlink=#660033 alink=#660066>") 
	}
	newWindow.document.write("<div align=center><table bgcolor=white width=90% class=borderout><tr><td width=100%>") ;
	if (whichOne == "design") {
		newWindow.document.write("<font class=infoEggplant>")
	}
	else {
		newWindow.document.write("<font class=infoMauve>")
	}
	newWindow.document.write("Are you a home interior stager looking for rental furniture, rugs and accessories?</font><p>") ;
	newWindow.document.write("<font class=infoBlack>Stager's Choice is the ultimate resource for San Francisco Bay area home interior stagers.") ;
	newWindow.document.write("&nbsp;&nbsp;All of our furniture and accessories are available for rental with flexible terms and reasonable rates.") ;
	newWindow.document.write("&nbsp;&nbsp;We are dedicated to providing what you, the stager, need in order to create beautiful showcases for your clients.") ;
	newWindow.document.write("&nbsp;&nbsp;Many of our pieces are available on a 'one of a kind' basis which makes your home stagings with Stager's Choice as unique as your own individual design concepts.</font><p>") ;
	if (whichOne == "design") {
		newWindow.document.write("<font class=infoEggplant>")
	}
	else {
		newWindow.document.write("<font class=infoMauve>")
	}
	newWindow.document.write("Are you a home owner or real estate professional seeking high quality home staging services?</font><p>") ;
	newWindow.document.write("<font class=infoBlack>Stager's Choice offers complimentary onsite design consultations.") ;
	newWindow.document.write("&nbsp;&nbsp;Our interior staging skills have been honed over years of staging and design occupations.") ;
	if (whichOne != "design") {
		newWindow.document.write("&nbsp;&nbsp;Check out our services by clicking on the 'Staging Services' link.");
	}
	else {
		newWindow.document.write("&nbsp;&nbsp;Check out our portfolio by clicking on 'Before and After'");
	}
	addCloseOnly()
	newWindow.document.write("</td></tr></table></div></body></html>")
}
function viewContactUs(whichOne) {
	newWindow = window.open("","","width=410, height=300, resizable=yes") ;
	newWindow.moveTo(((screen.availWidth-400)/2),((screen.availHeight-300)/2)) ;
	newWindow.document.write("<html><head><title>Contact Stager&#039s Choice...</title>") ;
	newWindow.document.write("<LINK REL = stylesheet TYPE = text/css href=")
	if (whichOne == "design") {newWindow.document.write("../")}
	newWindow.document.write("stagers.css></head>") ;
	if (whichOne == "design") {
		newWindow.document.write("<body bgcolor=#663366 link=#ffffff vlink=#ffffff alink=#ffffff>"); 
	}
	else {		
		newWindow.document.write("<body bgcolor=#cc6666 link=#660033 vlink=#660033 alink=#660066>") ;
	}
	newWindow.document.write("<table bgcolor=white class=borderout><tr><td><img src=")
	if (whichOne == "design"){ newWindow.document.write("design_stagers_choice.gif width=76 height=213")}
	else {newWindow.document.write("Stagers_Choice.gif width=74 height=212")}
	newWindow.document.write(" border=0></td>") ;
	newWindow.document.write("<td valign=top><table>") ;
	newWindow.document.write("<tr><td colspan=2 height=78 valign=top><img src=")
	if (whichOne == "design"){ newWindow.document.write("design_title.gif width=288 height=60")}
	else {newWindow.document.write("title.gif width=295 height=59")}
	newWindow.document.write(" border=0></td></tr>") ;
	newWindow.document.write("<tr valign=center><td width=50% height=71><a href=mailto:elle@stagerschoice.com><img src=")
	if (whichOne == "design") {newWindow.document.write("design_elle.gif width=130 height=47")}
	else {newWindow.document.write("elle.gif width=132 height=47")}
	newWindow.document.write(" border=0></a></td>") ;
	newWindow.document.write("<td width=50% height=71><a href=mailto:carla@stagerschoice.com><img src=")
	if (whichOne == "design") {newWindow.document.write("design_carla.gif width=136 height=46")}
	else {newWindow.document.write("carla.gif width=125 height=45")}
	newWindow.document.write(" border=0></a></td></tr>") ;
	newWindow.document.write("<tr><td colspan=2 height=63 valign=bottom><img src=")
	if (whichOne == "design") {newWindow.document.write("design_address.gif width=288 height=30")}
	else {newWindow.document.write("address.gif width=285 height=36")}
	newWindow.document.write(" border=0></td></tr>") ;
	newWindow.document.write("</table></td></tr></table>") ;
	newWindow.document.write("<div align=center><font class=header2>(Click on name/e-mail address to send an e-mail)</font></div>") ;
	
	//newWindow.document.write("<body bgcolor=#cc6666 link=#660033 vlink=#660033 alink=#660066>") ;
	//newWindow.document.write("<div align=center><table bgcolor=white width=90% class=borderout><tr><td width=100%>") ;
	//newWindow.document.write("<font class=infoBlack>Call us at:</font><blockquote><font class=infoBlack>415-474-5979 or<br>415-421-8074</blockquote></font><p>") ;
	//newWindow.document.write("<font class=infoBlack>Fax us at:&nbsp;&nbsp;415-421-8074</font><p>") ;
	//newWindow.document.write("<font class=infoBlack>E-Mail us at:</font><blockquote><font class=infoBlack><a href=mailto:elle@stagerschoice.com>elle@stagerschoice.com</a> or <br><a href=mailto:carla@stagerschoice.com>carla@stagerschoice.com</a></font></blockquote><p>") ;
	//newWindow.document.write("<font class=infoBlack>Mailing Address:</font><blockquote><font class=infoBlack>Stager's Choice<br>2131 Taylor Street, #4<br>San Francisco, CA  94133</font></blockquote>") ;
	addCloseOnly()
	//newWindow.document.write("</td></tr></table></div>
	
	newWindow.document.write("</body></html>") ;
}	
function viewIt(picName,widthSpec,heightSpec) {
	var thisImg = new Image(widthSpec,heightSpec)
	thisImg.src = picName
	newWindow = window.open("","","width=" + (thisImg.width + 35) + "px" + ", height=" + (thisImg.height + 85) + "px" + " , resizable=yes") ;
	newWindow.moveTo(((screen.availWidth-(thisImg.width + 35))/2),((screen.availHeight-(thisImg.height + 85))/2)) ;	
	newWindow.document.write("<html><head><title>Stager&#039s Choice</title>") ;
	newWindow.document.write("<LINK REL = stylesheet TYPE = text/css href=stagers.css>") ;
	newWindow.document.write("<script language=Javascript> function resizeTheWindow(widthParam, heightParam) {resizeTo((widthParam + 35),(heightParam + 85)); }")
	newWindow.document.write("</script></head>");
	newWindow.document.write("<body bgcolor=white link=#660033 vlink=#660033 alink=#660066><div align=center>")
	newWindow.document.write("<img src=" + thisImg.src + " border=2 width=" + thisImg.width + " height=" + thisImg.height + " lowsrc=spacer.gif onLoad='resizeTheWindow(" + thisImg.width + ", " + thisImg.height +")'>")
	addCloseOnly() ;
	newWindow.document.write("</div></body></html>") ;
}
function addCloseOnly() {
	newWindow.document.write("<div align=center><br><font class=header1><a href=javascript:close()>Close</a></font></div>") ;
}

function addListOptions() {
	document.forms[0].item_spec.options[0] = new Option("(All)","all");
	document.forms[0].item_spec.options[1] = new Option("Artwork - Photos","photos");
	document.forms[0].item_spec.options[2] = new Option("Artwork - Other","art");
	document.forms[0].item_spec.options[3] = new Option("Buffets","buffets");
	document.forms[0].item_spec.options[4] = new Option("Desks","desks");
	document.forms[0].item_spec.options[5] = new Option("Lamps","lamps");
	document.forms[0].item_spec.options[6] = new Option("Mirrors","mirrors");
	document.forms[0].item_spec.options[7] = new Option("Occasional Tables","tables");
	document.forms[0].item_spec.options[8] = new Option("Rugs","rugs");
	document.forms[0].item_spec.options[9] = new Option("Silk Plants","plants");
	document.forms[0].item_spec.options[10] = new Option("Shelving","shelving");
	document.forms[0].item_spec.options[11] = new Option("Sofas/Loveseats","sofas");
	document.forms[0].item_spec.options[12] = new Option("Other Seating","chairs");

	document.forms[0].room_spec.options[0] = new Option("(All)","all");
	document.forms[0].room_spec.options[1] = new Option("Bathroom","bathroom");
	document.forms[0].room_spec.options[2] = new Option("Bedroom","bedroom");
	document.forms[0].room_spec.options[3] = new Option("Dining Room","dining");
	document.forms[0].room_spec.options[4] = new Option("Kitchen","kitchen");
	document.forms[0].room_spec.options[5] = new Option("Living/Family Room","living");
	document.forms[0].room_spec.options[6] = new Option("Miscellaneous","misc");
	document.forms[0].room_spec.options[7] = new Option("Patio","patio");
	document.forms[0].room_spec.options[8] = new Option("Unphotographed Items","no_picture");
	
	document.forms[0].vignette_spec.options[0] = new Option("(All)","all");
	document.forms[0].vignette_spec.options[1] = new Option("Amsterdam Living Room","amsterdam");
	document.forms[0].vignette_spec.options[2] = new Option("Berlin Dining Room","berlin_dining");
	document.forms[0].vignette_spec.options[3] = new Option("Bombay Bench","bombay_bench");
	document.forms[0].vignette_spec.options[4] = new Option("Cape Cod Dining Room","cape_cod_dining");
	document.forms[0].vignette_spec.options[5] = new Option("Cape Cod Living Room","cape_cod");
	document.forms[0].vignette_spec.options[6] = new Option("Chicago Bedroom","chicago_bed");
	document.forms[0].vignette_spec.options[7] = new Option("Coney Island Bistro Set","coney_island");
	document.forms[0].vignette_spec.options[8] = new Option("Egypt Bench","egypt_bench");
	document.forms[0].vignette_spec.options[9] = new Option("Egypt Dining Room","egypt");
	document.forms[0].vignette_spec.options[10] = new Option("Egypt Living Room","egypt_living");
	document.forms[0].vignette_spec.options[11] = new Option("Manhattan Bar","manhattan_bar");
	document.forms[0].vignette_spec.options[12] = new Option("Manhattan Bedroom","manhattan_bed");
	document.forms[0].vignette_spec.options[13] = new Option("Manhattan Dining Room","manhattan");
	document.forms[0].vignette_spec.options[14] = new Option("Manhattan Dining Room II","manhattan2");
	document.forms[0].vignette_spec.options[15] = new Option("Manhattan Living Room","manhattan_living");
	document.forms[0].vignette_spec.options[16] = new Option("Manhattan Sitting Room","manhattan_sitting");
	document.forms[0].vignette_spec.options[17] = new Option("Miami Bedroom","miami_bed");
	document.forms[0].vignette_spec.options[18] = new Option("Miami Dining Room","miami_dining");
	document.forms[0].vignette_spec.options[19] = new Option("Miami Living Room","miami");
	document.forms[0].vignette_spec.options[20] = new Option("Miami Patio Set","miami_patio");
	document.forms[0].vignette_spec.options[21] = new Option("Milan Living Room","milan_living");
	document.forms[0].vignette_spec.options[22] = new Option("Paris Bedroom","paris_bed");
	document.forms[0].vignette_spec.options[23] = new Option("Paris Living Room","paris");
	document.forms[0].vignette_spec.options[24] = new Option("Provence Bedroom","provence_bed");
	document.forms[0].vignette_spec.options[25] = new Option("Provence Dining Room","provence");
	document.forms[0].vignette_spec.options[26] = new Option("Savannah Day Bed","savannah_bed");
	document.forms[0].vignette_spec.options[27] = new Option("Savannah Living Room","savannah_living");
	document.forms[0].vignette_spec.options[28] = new Option("Savannah Patio Set","savannah_patio");
	document.forms[0].vignette_spec.options[29] = new Option("Savannah Sitting Room","savannah_sitting");
	document.forms[0].vignette_spec.options[30] = new Option("Seattle Dining Room","seattle_dining");
	document.forms[0].vignette_spec.options[31] = new Option("Seattle Living Room","seattle");
	document.forms[0].vignette_spec.options[32] = new Option("Shenandoah Bench","shenandoah");
	document.forms[0].vignette_spec.options[33] = new Option("Tahiti Bedroom","tahiti_bed");
	document.forms[0].vignette_spec.options[34] = new Option("Tahiti Dining Room","tahiti_dining");
	document.forms[0].vignette_spec.options[35] = new Option("Tahiti Patio Set","tahiti_patio");
	document.forms[0].vignette_spec.options[36] = new Option("Tahiti Pub Set","tahiti_pub");
	document.forms[0].vignette_spec.options[37] = new Option("Tahiti Sitting Room","tahiti_sitting");
	document.forms[0].vignette_spec.options[38] = new Option("Taliesin Bar","taliesin_bar");
	document.forms[0].vignette_spec.options[39] = new Option("Taliesin Dining Room","taliesin");
	document.forms[0].vignette_spec.options[40] = new Option("Taliesin II Dining Room","taliesin_II");
	document.forms[0].vignette_spec.options[41] = new Option("Venice Bedroom","venice_bed");
	document.forms[0].vignette_spec.options[42] = new Option("Vienna Bedroom","vienna_bed");
	document.forms[0].vignette_spec.options[43] = new Option("Vienna Console","vienna_console");
	document.forms[0].vignette_spec.options[44] = new Option("Vienna Patio","vienna_patio");
	document.forms[0].vignette_spec.options[45] = new Option("Vienna Sitting Room","vienna_sitting");
}

