function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function openMagazine(page) {
OpenWin = this.open("http://olive.jnlcom.com/activemagazine/getbook.asp?Path=JCM/2008/08/10&BookCollection=JCM_AM&ReaderStyle=Journal&PlayCorner=True&browserWindowWidth=1670&browserWindowHeight=1000&IsMac=1&IsNetscape=1");
}	

function openImagesAmerica(page) {
OpenWin = this.open("http://olive.jnlcom.com/activemagazine/getbook.asp?Path=JCM/2007/09/28&BookCollection=JCM_AM&ReaderStyle=FFA&PlayCorner=True&browserWindowWidth=1670&browserWindowHeight=1000&IsMac=1&IsNetscape=1");
}

function openMagazine_Help(page) {
OpenWin = this.open("http://mag1.olivesoftware.com/ActiveMagazine/getBook.asp?Path=ACM/2004/12/01&ReaderStyle=Normal", "newWin", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=490");
}

function random_imglink(page) {
var myimages=new Array()


switch (page){
case "byways": 
//specify random images below. You can have as many as you wish
myimages[1]="images/byways/indexthumb/byways_thumb1.jpg"
myimages[2]="images/byways/indexthumb/byways_thumb2.jpg"
myimages[3]="images/byways/indexthumb/byways_thumb3.jpg"
myimages[4]="images/byways/indexthumb/byways_thumb4.jpg"
break;
case "detours": 
//specify random images below. You can have as many as you wish
myimages[1]="images/detours/indexthumb/detours_thumb1.jpg"
myimages[2]="images/detours/indexthumb/detours_thumb2.jpg"
myimages[3]="images/detours/indexthumb/detours_thumb3.jpg"
myimages[4]="images/detours/indexthumb/detours_thumb4.jpg"
break;
case "onthemove": 
//specify random images below. You can have as many as you wish
myimages[1]="images/onmove/indexthumb/onmove_thumb1.jpg"
myimages[2]="images/onmove/indexthumb/onmove_thumb2.jpg"
myimages[3]="images/onmove/indexthumb/onmove_thumb3.jpg"
break;
case "recipes": 
//specify random images below. You can have as many as you wish
myimages[1]="images/recipes/indexthumb/recipes_thumb1.jpg"
myimages[2]="images/recipes/indexthumb/recipes_thumb2.jpg"
break;
case "bywaysthumb": 
//specify random images below. You can have as many as you wish
myimages[1]="images/thumb/bywaysinthisissue/byways_thumb1.jpg"
myimages[2]="images/thumb/bywaysinthisissue/byways_thumb2.jpg"
myimages[3]="images/thumb/bywaysinthisissue/byways_thumb3.jpg"
myimages[4]="images/thumb/bywaysinthisissue/byways_thumb4.jpg"
break;
case "detoursthumb": 
//specify random images below. You can have as many as you wish
myimages[1]="images/thumb/detoursinthisissue/detours_thumb1.jpg"
myimages[2]="images/thumb/detoursinthisissue/detours_thumb2.jpg"
myimages[3]="images/thumb/detoursinthisissue/detours_thumb3.jpg"
myimages[4]="images/thumb/detoursinthisissue/detours_thumb4.jpg"
break;
case "onmovethumb": 
//specify random images below. You can have as many as you wish
myimages[1]="images/thumb/onmoveinthisissue/onmove_thumb1.jpg"
myimages[2]="images/thumb/onmoveinthisissue/onmove_thumb2.jpg"
myimages[3]="images/thumb/onmoveinthisissue/onmove_thumb3.jpg"
break;
case "recipethumb": 
//specify random images below. You can have as many as you wish
myimages[1]="images/thumb/recipeinthisissue/recipe_thumb1.jpg"
myimages[2]="images/thumb/recipeinthisissue/recipe_thumb2.jpg"
break;
default : alert("error");
}
var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<img src="'+myimages[ry]+'" class="article_photo_dept" border=0>')
}







