function fbOver(ID){
var fbbutton = document.getElementById(ID);
   fbbutton.style.borderBottom='1px dashed #000080';
   fbbutton.style.borderTop='1px dashed #000080';
   fbbutton.style.backgroundColor='#e6eff5';
}
function fbOut(ID){
var fbbutton = document.getElementById(ID);
   fbbutton.style.borderBottom='1px solid #ffffff';
   fbbutton.style.borderTop='1px solid #ffffff';
   fbbutton.style.backgroundColor='#ffffff';
}

function prodOver(ID){
var divName = document.getElementById('box'+ID);
   divName.style.borderColor='#000080';
var pName = document.getElementById('opt'+ID);
pName.style.visibility = 'visible';
	 }
function prodOut(ID){
var divName = document.getElementById('box'+ID);
   divName.style.borderColor='#9191ff';
var pName = document.getElementById('opt'+ID);
pName.style.visibility = 'hidden';
	 }


function boxOver(imgID){
var imgName = document.getElementById(imgID);
   imgName.style.borderColor='#000080';
	 }
function boxOut(imgID){
var imgName = document.getElementById(imgID);
   imgName.style.borderColor='#9191ff';
	 }

function goProd(prodTitle){  window.location.href='/shop/choose.php?prod='+prodTitle;}

function goCat(prodCat){  window.location.href='/shop/choose.php?cat='+prodCat;}

function goCustom(prodTitle){  window.location.href='/shop/choose.php?custom='+prodTitle;}

function goDesign(prodDesign){  window.location.href='/shop/choose.php?design='+prodDesign;}

function resizeIframe(iframeID) {
if(self==parent) return false; /* Checks that page is in iframe. */
else if(document.getElementById&&document.all) /* Sniffs for IE5+.*/

var FramePageHeight = framePage.scrollHeight + 10; 
alert(FramePageHeight);
/* framePage is the ID of the framed page's BODY tag. 
The added 10 pixels prevent an unnecessary scrollbar. */

parent.document.getElementById(iframeID).style.height=FramePageHeight;
/* "iframeID" is the ID of the inline frame in the parent page. */
} 

