/* 	Copyright:	ARTwareSOFTWARE 
	Project:	PSCA
	Web: 		http://www.artware-software.com/
	Email: 		artware@att.net
	File: 		PSCA.js 
	Version: 	1.0 (Earthlink)
	Description:	Javascript support file
*/

    linkText = new Array( "Home","Artists","Exhibitions","Gallery","News","Services")
    linkURL  = new Array( "index.html","../cgi/PSCAa.pl?arti=All&sz=3&rp=Work","../cgi/PSCAe.pl","gallery.html","../cgi/PSCAn.pl","serv.html")
    linkCol  = new Array( "333333","333333","333333","333333","333333","333333")
    linkCnt  = linkText.length

    function presentNavigation(home,sz,disc) {
      document.write("<table border=0 cellspacing=6 cellpadding=5><tr colspan=6>")
      document.write("<font face='VERDANA,HELVETICA' size=1 color='#FF0000'>")
      for(l=0; l < linkCnt; l++) {
	if( l == home) {
	    document.write("<td align=center bgcolor=" + linkCol[l])
	    document.write( " width=" + sz + " height=" + sz + ">")
	    document.write("<font face='VERDANA,HELVETICA' size=2 color=silver>")
	    document.write( linkText[l] + "</a></font></td>")
	}
	else {
	    document.write("<td align=center  width=" + sz + " height=" + sz);
 	    document.write(" bgcolor=" + linkCol[l] + "><center>")
	    document.write("<A HREF=\"" + retDir + linkURL[l] + "\">"  )
	    document.write("<font face='VERDANA,HELVETICA' size=2 color=silver>")
	    document.write( linkText[l] + "</a></font></td>")
	}
      }
      document.write("</tr></table>")
      if(disc) { Disclaimer() }
    }

    function Disclaimer() {
	document.write("<table border=0 ><tr><td align=center >")
	document.write("<FONT face='VERDANA,HELVETICA'><FONT size=1>")
	document.write("© Copyright 2000 - 2008 &nbsp; paul sharpe contemporary art / paul sharpe projects<br>")
	document.write("58 East 80 Street 2A New York NY 10075<br>")
	document.write("<a HREF='MAILTO:paulsharpe1@msn.com'>")
	document.write("<FONT face='VERDANA,HELVETICA' color=silver size=1>paulsharpe1@msn.com</a>")
	document.write("</FONT></td></tr></table")
    }

    function newWindow(pic,w,size) {
	resize = size + ',resizable'
	picWindow = window.open(pic,w,resize)
	picWindow.focus()
    }

    function popUp(pic,desc,size,tit) {
	  img = 'http://www.paulsharpegallery.com/cgi/PSCAinfo.pl?typ=1&addr=/images/'
	  img = img + pic + '&name=' + tit + '&work=' + desc
	  newWindow(img,'serv',size)
   }

 // End of script -->