<!--	





	
//script for pop-up windows with all features
	
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=yes,directories=no,status=no,menubar=yes,toolbar=yes,resizable=yes';
win=window.open(mypage,myname,settings);}

	
	
//script for pop-up windows with no nav and other features
	
var win=null;
function LimWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);}		


//script for pop-up windows with all features
	
var win=null;
function jWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=yes,directories=no,status=no,menubar=yes,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);}

//***************SCRIPT FOR FEATURED ARTISTS ROTATION ************************

// Set up the image files to be used.
var theImages = new Array()
var theseconds = new Array()
var thethirds = new Array()
 // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.


// cell 1 rotating features
theImages[0] = '<img src=\"images/affinity/1.jpg\" COLOR=BLACK STYLE=\"BORDER-COLOR:BLACK;\" BORDER=1 WIDTH=179 HEIGHT=114>'

theImages[1] = '<img src=\"images/affinity/2.jpg\" COLOR=BLACK STYLE=\"BORDER-COLOR:BLACK;\" BORDER=1 WIDTH=179 HEIGHT=114>'

theImages[2] = '<img src=\"images/affinity/3.jpg\" COLOR=BLACK STYLE=\"BORDER-COLOR:BLACK;\" BORDER=1 WIDTH=179 HEIGHT=114>'

// cell 2 rotating features

theseconds[0] = '<img src=\"images/affinity/4.jpg\" COLOR=BLACK STYLE=\"BORDER-COLOR:BLACK;\" BORDER=1 WIDTH=179 HEIGHT=114>'

theseconds[1] = '<img src=\"images/affinity/5.jpg\" COLOR=BLACK STYLE=\"BORDER-COLOR:BLACK;\" BORDER=1 WIDTH=179 HEIGHT=114>'

theseconds[2] = '<img src=\"images/affinity/6.jpg\" COLOR=BLACK STYLE=\"BORDER-COLOR:BLACK;\" BORDER=1 WIDTH=179 HEIGHT=114>'



// cell 3 rotating features

thethirds[0] = '<img src=\"images/affinity/7.jpg\" COLOR=BLACK STYLE=\"BORDER-COLOR:BLACK;\" BORDER=1 WIDTH=179 HEIGHT=114>'

thethirds[1] = '<img src=\"images/affinity/8.jpg\" COLOR=BLACK STYLE=\"BORDER-COLOR:BLACK;\" BORDER=1 WIDTH=179 HEIGHT=114>'

thethirds[2] = '<img src=\"images/affinity/9.jpg\" COLOR=BLACK STYLE=\"BORDER-COLOR:BLACK;\" BORDER=1 WIDTH=179 HEIGHT=114>'





// do not edit anything below this line
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]}
var whichImage = Math.round(Math.random()*(p-1));
function showthefirst(){
document.write(theImages[whichImage]);}

// second
var l=0
var q = theseconds.length;
var preBuffer = new Array()
for (k = 0; k < q; k++){
   preBuffer[k] = new Image()
   preBuffer[k].src = theseconds[k]}
var whichImage = Math.round(Math.random()*(q-1));
function showthesecond(){
document.write(theseconds[whichImage]);}


// third
var n=0
var a = thethirds.length;
var preBuffer = new Array()
for (b = 0; b < a; b++){
   preBuffer[b] = new Image()
   preBuffer[b].src = thethirds[b]}
var whichImage = Math.round(Math.random()*(a-1));
function showthethird(){
document.write(thethirds[whichImage]);}



	

//-->


