// JavaScript Document
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
   {
   for(var i=0; i<document.images.length; i++)
      {
	  var img = document.images[i]
	  var imgName = img.src.toUpperCase()
	  if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
	     {
		 var imgID = (img.id) ? "id='" + img.id + "' " : ""
		 var imgClass = (img.className) ? "class='" + img.className + "' " : ""
		 var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
		 var imgStyle = "display:inline-block;" + img.style.cssText 
		 if (img.align == "left") imgStyle = "float:left;" + imgStyle
		 if (img.align == "right") imgStyle = "float:right;" + imgStyle
		 if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle		
		 var strNewHTML = "<span " + imgID + imgClass + imgTitle
		 + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
	     + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
		 + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
		 img.outerHTML = strNewHTML
		 i = i-1
	     }
      }
   }

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// ==============================================
// Copyright 2004 by CodeLifter.com
// Free for all; but please leave in this header.
// ==============================================

var Quotation=new Array() // do not change this!
var txtstring="<p id=\"quote_title\">Advance&nbsp;praise&nbsp;for&nbsp;<span class=\"cite\">101&nbsp;Must-See&nbsp;Movies&nbsp;for&nbsp;Gay&nbsp;Men</span></p><div id=\"quote\">";
var txtstring2="</div>";
// Set up the quotations to be shown, below.
// To add more quotations, continue with the
// pattern, adding to the array.  Remember
// to increment the Quotation[x] index!

Quotation[0] = txtstring + "<p>A whiz-bang A-to-Z film history romp from one of the smartest gay film critics around.</p><div id=\"source\"> —Jenni Olson, <span class=\"cite\"><a href=\"http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;camp=1789&amp;tag=alonsoduralde-20&amp;creative=9325&amp;path=tg/detail/-/1852423390/qid=1130612455/sr=1-2/ref=sr_1_2?v=glance%26s=books\" target=\"_blank\">The Ultimate Guide to Lesbian & Gay Film & Video</a><img src=\"http://www.assoc-amazon.com/e/ir?t=alonsoduralde-20&amp;l=ur2&amp;o=1\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" /></span></div>" + txtstring2;
Quotation[1] = txtstring + "<p>Alonso Duralde's handy-dandy guide spells big fun—like spending hours on a couch with a smart, snarky, opinionated, fellow film-loving freak.</p><div id=\"source\"> —Stephen Rebello, <span class=\"cite\"><a href=\"http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;camp=1789&amp;tag=alonsoduralde-20&amp;creative=9325&amp;path=tg/detail/-/0452270057/qid=1130636297/sr=1-1/ref=sr_1_1?v=glance%26s=books\" target=\"_blank\">Bad Movies We Love</a><img src=\"http://www.assoc-amazon.com/e/ir?t=alonsoduralde-20&amp;l=ur2&amp;o=1\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" /></span></div>" + txtstring2;
Quotation[2] = txtstring + "<p>Don't be fooled—this book is not just about queer movies, it's for everyone who loves the movies (even if you love the movies just as a friend).</p><div id=\"source\"> —Mary Jo Pehl, writer/actress, <span class=\"cite\"><a href=\"http://www.mst3kinfo.com/\" target=\"_blank\">Mystery Science Theater 3000</a></span></div>" + txtstring2;
Quotation[3] = txtstring + "<p>The only thing wrong with Mr. Duralde's canny book is that it's simply too short. How I yearn for Bride of 101 Must-See Movies for Gay Men.</p><div id=\"source\"> —LD Beghtol, <span class=\"cite\"><a href=\"http://www.villagevoice.com/\" target=\"_blank\">The Village Voice</a></span></div>" + txtstring2;
Quotation[4] = txtstring + "<p>When it comes to gay men and movies, Alonso Duralde knows his stuff, and he writes about it with great intelligence, wit, and enthusiasm.</p><div id=\"source\"> —Dennis Hensley, <span class=\"cite\"><a href=\"http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;camp=1789&amp;tag=alonsoduralde-20&amp;creative=9325&amp;path=tg/detail/-/1555837336/qid=1130636529/sr=2-1/ref=pd_bbs_b_2_1?v=glance%26s=books\" target=\"_blank\">Screening Party</a><img src=\"http://www.assoc-amazon.com/e/ir?t=alonsoduralde-20&amp;l=ur2&amp;o=1\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" /></span> and <span class=\"cite\"><a href=\"http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;camp=1789&amp;tag=alonsoduralde-20&amp;creative=9325&amp;path=tg/detail/-/0688171281/qid=1130636661/sr=2-1/ref=pd_bbs_b_2_1?v=glance%26s=books\" target=\"_blank\">Misadventures in the (213)</a><img src=\"http://www.assoc-amazon.com/e/ir?t=alonsoduralde-20&amp;l=ur2&amp;o=1\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" /></span></div>" + txtstring2;
Quotation[5] = txtstring + "<p>Alonso Duralde's must-see list is a must read for movie lovers everywhere—no matter what your cinematic orientation.</p><div id=\"source\"> —Craig Chester, writer-director of <span class=\"cite\"><a href=\"http://www.imdb.com/title/tt0372122/\" target=\"_blank\">Adam and Steve</a></span> and author of <span class=\"cite\"><a href=\"http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;camp=1789&amp;tag=alonsoduralde-20&amp;creative=9325&amp;path=tg/detail/-/0312326165/qid=1130636894/sr=1-1/ref=sr_1_1?v=glance%26s=books\" target=\"_blank\">Why The Long Face?</a><img src=\"http://www.assoc-amazon.com/e/ir?t=alonsoduralde-20&amp;l=ur2&amp;o=1\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" /></span></div>" + txtstring2;
Quotation[6] = txtstring + "<p>Before you go to the video store or log onto Netflix, do yourself a favor and pick up this book and a highlighter.  You'll need it.</p><div id=\"source\"> —Dennis Hensley, <span class=\"cite\"><a href=\"http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;camp=1789&amp;tag=alonsoduralde-20&amp;creative=9325&amp;path=tg/detail/-/1555837336/qid=1130636529/sr=2-1/ref=pd_bbs_b_2_1?v=glance%26s=books\" target=\"_blank\">Screening Party</a><img src=\"http://www.assoc-amazon.com/e/ir?t=alonsoduralde-20&amp;l=ur2&amp;o=1\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" /></span> and <span class=\"cite\"><a href=\"http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;camp=1789&amp;tag=alonsoduralde-20&amp;creative=9325&amp;path=tg/detail/-/0688171281/qid=1130636661/sr=2-1/ref=pd_bbs_b_2_1?v=glance%26s=books\" target=\"_blank\">Misadventures in the (213)</a><img src=\"http://www.assoc-amazon.com/e/ir?t=alonsoduralde-20&amp;l=ur2&amp;o=1\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" /></span></div>" + txtstring2;

// ======================================
// Do not change anything below this line
// ======================================
var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));
function showQuotation(){
  if (screen.width > 800) {
    document.write(Quotation[whichQuotation]);
    }
  else {
    document.write("&nbsp;&nbsp;")
    }
}

