
    colRed   = 'color=#CC0000'
    colBlue  = 'color=#000033'
    colBlack = 'color=#202020'
    colGray  = 'color=#606060'

    pop1      = '<a HREF=javascript:popUpWindow('
    pop2      = ',"med","resize","scroll")>'
    pop2b     = ',"big","resize","scroll")>'
    lnkPriv  = pop1 + '"p_priv.html"' + ',"sml","","")>'
    lnkFAQ   = pop1 + '"p_faq.html"'  + pop2
    lnkLink  = pop1 + '"p_links.html"'+ pop2
    lnkNews  = pop1 + '"p_n1206.html"' + pop2b
    lnkLog   = pop1 + '"p_log.html"'  + pop2

    function popUpWindow(pg,w,r,s) {
	var sz = ''
	if(w == 'sml' )   { sz =  'width=250,height=320' }
	if(w == 'med' )   { sz =  'width=340,height=420' }
	if(w == 'menu' )  { sz =  'width=580,height=660' }
	if(w == 'map' )   { sz =  'width=580,height=660' }
	if(w == 'big' )   { sz =  'width=600,height=700' }
	if(w == 'img' )   { sz =  'width=624,height=480' }
	if(s == 'scroll') { sz += ',scrollbars=yes' }
	if(r == 'resize') { sz += ',resizable' }
	picWindow = window.open(pg,w,sz)
	picWindow.focus()
    }

    function leftTop(pg,dot,log,col) {
	topheight = 50
	dot = 'dot_g.jpg'

	lft =   '<table border=0 width=100% height=98%>'
	lft +=  '<tr colspan=3><td valign=top width=140><!-- 1 -->'
	lft +=   pageLinks(pg,dot,log)
	lft +=  '</td><td width=12><!-- 2 --><table border=0 cellpadding=0 cellspacing=0 '
	lft +=  'height=100% background="images/dna_vs01' + col + '.jpg">'
	if(navigator.appName == "Netscape") {lft +=  '<tr><td width=18 height=600>' }
	else {lft +=  '<tr><td width=18 height=100%>' }
	lft +=  '<img src=images/pixel.jpg height=1 width=16>'
	lft +=  '</td></tr></table></td><td width=100% valign=top><!-- 3 -->'

	lft +=  '<table border=0 width=100% height=100%  cellpadding=0 cellspacing=0 >'
	lft +=  '<tr valign=bottom><td height=' + topheight + '>'
	if(pg==0) { 
		lft +=  '<table width=800 height=38><tr><td align=right><font face="Times Roman,serif" size=2 color=gray>'
		lft +=  '<B>SAFETY BEYOND SECURITY, &nbsp;<font color=#000033>DNAsign</font> PROTECTS YOUR PRODUCTS</B></td></tr></table>'
	}
	else 	  { lft += pageHead()}
	lft +=  '<table background="images/dna_hs01' + col + '.jpg" border=0 '
	lft +=  'cellpadding=0 cellspacing=0 width=100%>'
	lft +=  '<tr><td height=10>'
	lft +=  '<img src=images/pixel.jpg height=16 width=1>'
	lft +=  '</td></tr></table>'

	lft +=  '</td></tr><tr valign=top><td>'
	lft +=  '<table border=0 cellpadding=20><tr valign=top><td>'

	document.write(lft)
    } 

    function selImg(prefix,from,to,w) {
      	var sel = from + Math.floor( (Math.random()* (1 + to - from)) )
      	var img = "images/" + prefix + sel
      	document.write("<img src=" +  img + ".jpg border=0>")
    }

