// chosen_fading_no_moo_menu.js is copyrighted material by Shape5.com 2007 - current

// Title: Shape 5 Fading No-Moo Menu - Joomla 1.0
// URL: http://www.shape5.com
// Date: 11/07/2007
// Notes: This script is copyrighted material of shape5.com and may not be redistributed or resold by any means.

	//set ids to the unordered lists
	var chosen_fm_ul = document.getElementById("chosen_navv").getElementsByTagName("UL");
	var aa = 0;
	for (var y=0; y<chosen_fm_ul.length; y++) {
		chosen_fm_ul[y].id="chosen_fm_ul" + aa;
		aa = aa + 1;
	}
	
	//set ids to list child nodes of above ul's
	var chosen_fm_li = document.getElementById("chosen_navv").getElementsByTagName("LI");
	var z;
	var cc = 1;
	for (var z=0; z<chosen_fm_li.length; z++) {
	if (chosen_fm_li[z].childNodes[2]) {
		chosen_fm_li[z].id="chosen_fm_li" + cc;
		cc = cc + 1;
		}
	}
	
	//set ids to a's 
	var chosen_fm_a = document.getElementById("chosen_navv").getElementsByTagName("A");
	var x;
	var bb = 1;
	for (var x=0; x<chosen_fm_a.length; x++) {

	if (chosen_fm_a[x].parentNode.parentNode.parentNode.id) {
		chosen_fm_a[x].id="chosen_fm_aa" + bb;
		bb = bb + 1;
		}

	}
	
var id_chosen_fm;

var chosen_height1 = 0;
var chosen_width1 = 0;
var chosen_height2 = 0;
var chosen_width2 = 0;
var chosen_height3 = 0;
var chosen_width3 = 0;
var chosen_height4 = 0;
var chosen_width4 = 0;
var chosen_height5 = 0;
var chosen_width5 = 0;
var chosen_height6 = 0;
var chosen_width6 = 0;
var chosen_height7 = 0;
var chosen_width7 = 0;
var chosen_height8 = 0;
var chosen_width8 = 0;
var chosen_height9 = 0;
var chosen_width9 = 0;
var chosen_height10 = 0;
var chosen_width10 = 0;
var chosen_height11 = 0;
var chosen_width11 = 0;
var chosen_height12 = 0;
var chosen_width12 = 0;
var chosen_height13 = 0;
var chosen_width13 = 0;
var chosen_height14 = 0;
var chosen_width14 = 0;
var chosen_height15 = 0;
var chosen_width15 = 0;
var chosen_height16 = 0;
var chosen_width16 = 0;
var chosen_height17 = 0;
var chosen_width17 = 0;
var chosen_height18 = 0;
var chosen_width18 = 0;
var chosen_height19 = 0;
var chosen_width19 = 0;
var chosen_height20 = 0;
var chosen_width20 = 0;
var chosen_height21 = 0;
var chosen_width21 = 0;
var chosen_height22 = 0;
var chosen_width22 = 0;
var chosen_height23 = 0;
var chosen_width23 = 0;
var chosen_height24 = 0;
var chosen_width24 = 0;
var chosen_height25 = 0;
var chosen_width25 = 0;
var chosen_height26 = 0;
var chosen_width26 = 0;
var chosen_height27 = 0;
var chosen_width27 = 0;
var chosen_height28 = 0;
var chosen_width28 = 0;
var chosen_height29 = 0;
var chosen_width29 = 0;
var chosen_height30 = 0;
var chosen_width30 = 0;
var chosen_height31 = 0;
var chosen_width31 = 0;
var chosen_height32 = 0;
var chosen_width32 = 0;
var chosen_height33 = 0;
var chosen_width33 = 0;
var chosen_height34 = 0;
var chosen_width34 = 0;
var chosen_height35 = 0;
var chosen_width35 = 0;
var chosen_height36 = 0;
var chosen_width36 = 0;
var chosen_height37 = 0;
var chosen_width37 = 0;
var chosen_height38 = 0;
var chosen_width38 = 0;
var chosen_height39 = 0;
var chosen_width39 = 0;
var chosen_height40 = 0;
var chosen_width40 = 0;
var chosen_height41 = 0;
var chosen_width41 = 0;
var chosen_height42 = 0;
var chosen_width42 = 0;
var chosen_height43 = 0;
var chosen_width43 = 0;
var chosen_height44 = 0;
var chosen_width44 = 0;
var chosen_height45 = 0;
var chosen_width45 = 0;
var chosen_height46 = 0;
var chosen_width46 = 0;
var chosen_height47 = 0;
var chosen_width47 = 0;
var chosen_height48 = 0;
var chosen_width48 = 0;
var chosen_height49 = 0;
var chosen_width49 = 0;
var chosen_height50 = 0;
var chosen_width50 = 0;
var chosen_height51 = 0;
var chosen_width51 = 0;
var chosen_height52 = 0;
var chosen_width52 = 0;
var chosen_height53 = 0;
var chosen_width53 = 0;
var chosen_height54 = 0;
var chosen_width54 = 0;
var chosen_height55 = 0;
var chosen_width55 = 0;
var chosen_height56 = 0;
var chosen_width56 = 0;
var chosen_height57 = 0;
var chosen_width57 = 0;
var chosen_height58 = 0;
var chosen_width58 = 0;
var chosen_height59 = 0;
var chosen_width59 = 0;
var chosen_height60 = 0;
var chosen_width60 = 0;
var chosen_height61 = 0;
var chosen_width61 = 0;
var chosen_height62 = 0;
var chosen_width62 = 0;
var chosen_height63 = 0;
var chosen_width63 = 0;
var chosen_height64 = 0;
var chosen_width64 = 0;
var chosen_height65 = 0;
var chosen_width65 = 0;
var chosen_height66 = 0;
var chosen_width66 = 0;
var chosen_height67 = 0;
var chosen_width67 = 0;
var chosen_height68 = 0;
var chosen_width68 = 0;
var chosen_height69 = 0;
var chosen_width69 = 0;
var chosen_height70 = 0;
var chosen_width70 = 0;
var chosen_height71 = 0;
var chosen_width71 = 0;
var chosen_height72 = 0;
var chosen_width72 = 0;
var chosen_height73 = 0;
var chosen_width73 = 0;
var chosen_height74 = 0;
var chosen_width74 = 0;
var chosen_height75 = 0;
var chosen_width75 = 0;
var chosen_height76 = 0;
var chosen_width76 = 0;
var chosen_height77 = 0;
var chosen_width77 = 0;
var chosen_height78 = 0;
var chosen_width78 = 0;
var chosen_height79 = 0;
var chosen_width79 = 0;
var chosen_height80 = 0;
var chosen_width80 = 0;
var chosen_height81 = 0;
var chosen_width81 = 0;
var chosen_height82 = 0;
var chosen_width82 = 0;
var chosen_height83 = 0;
var chosen_width83 = 0;
var chosen_height84 = 0;
var chosen_width84 = 0;
var chosen_height85 = 0;
var chosen_width85 = 0;
var chosen_height86 = 0;
var chosen_width86 = 0;
var chosen_height87 = 0;
var chosen_width87 = 0;
var chosen_height88 = 0;
var chosen_width88 = 0;
var chosen_height89 = 0;
var chosen_width89 = 0;
var chosen_height90 = 0;
var chosen_width90 = 0;
var chosen_height91 = 0;
var chosen_width91 = 0;
var chosen_height92 = 0;
var chosen_width92 = 0;
var chosen_height93 = 0;
var chosen_width93 = 0;
var chosen_height94 = 0;
var chosen_width94 = 0;
var chosen_height95 = 0;
var chosen_width95 = 0;
var chosen_height96 = 0;
var chosen_width96 = 0;
var chosen_height97 = 0;
var chosen_width97 = 0;
var chosen_height98 = 0;
var chosen_width98 = 0;
var chosen_height99 = 0;
var chosen_width99 = 0;
var chosen_height100 = 0;
var chosen_width100 = 0;

	// stores all offsetheights and offsetwidths of ul's
	var chosen_fm_ul_store = document.getElementById("chosen_navv").getElementsByTagName("UL");	
	for (var f=0; f<chosen_fm_ul_store.length; f++) {
		if (chosen_fm_ul_store.length >= 1) {
		if (f==1) {
		chosen_height1 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width1 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 2) {
		if (f==2) {
		chosen_height2 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width2 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 3) {
		if (f==3) {
		chosen_height3 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width3 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 4) {
		if (f==4) {
		chosen_height4 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width4 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 5) {
		if (f==5) {
		chosen_height5 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width5 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 6) {
		if (f==6) {
		chosen_height6 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width6 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 7) {
		if (f==7) {
		chosen_height7 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width7 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 8) {
		if (f==8) {
		chosen_height8 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width8 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 9) {
		if (f==9) {
		chosen_height9 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width9 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 10) {
		if (f==10) {
		chosen_height10 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width10 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 11) {
		if (f==11) {
		chosen_height11 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width11 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 12) {
		if (f==12) {
		chosen_height12 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width12 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 13) {
		if (f==13) {
		chosen_height13 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width13 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 14) {
		if (f==14) {
		chosen_height14 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width14 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 15) {
		if (f==15) {
		chosen_height15 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width15 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 16) {
		if (f==16) {
		chosen_height16 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width16 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 17) {
		if (f==17) {
		chosen_height17 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width17 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 18) {
		if (f==18) {
		chosen_height18 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width18 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 19) {
		if (f==19) {
		chosen_height19 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width19 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 20) {
		if (f==20) {
		chosen_height20 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width20 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==21) {
		chosen_height21 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width21 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==22) {
		chosen_height22 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width22 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==23) {
		chosen_height23 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width23 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==24) {
		chosen_height24 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width24 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 25) {
		if (f==25) {
		chosen_height25 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width25 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==26) {
		chosen_height26 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width26 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==27) {
		chosen_height27 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width27 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==28) {
		chosen_height28 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width28 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==29) {
		chosen_height29 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width29 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 30) {
		if (f==30) {
		chosen_height30 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width30 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==31) {
		chosen_height31 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width31 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==32) {
		chosen_height32 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width32 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==33) {
		chosen_height33 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width33 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==34) {
		chosen_height34 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width34 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 35) {
		if (f==35) {
		chosen_height35 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width35 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==36) {
		chosen_height36 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width36 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==37) {
		chosen_height37 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width37 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==38) {
		chosen_height38 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width38 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==39) {
		chosen_height39 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width39 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 40) {
		if (f==40) {
		chosen_height40 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width40 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==41) {
		chosen_height41 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width41 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==42) {
		chosen_height42 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width42 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==43) {
		chosen_height43 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width43 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==44) {
		chosen_height44 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width44 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 45) {
		if (f==45) {
		chosen_height45 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width45 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==46) {
		chosen_height46 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width46 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==47) {
		chosen_height47 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width47 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==48) {
		chosen_height48 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width48 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==49) {
		chosen_height49 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width49 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 50) {
		if (f==50) {
		chosen_height50 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width50 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==51) {
		chosen_height51 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width51 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==52) {
		chosen_height52 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width52 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==53) {
		chosen_height53 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width53 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==54) {
		chosen_height54 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width54 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 55) {
		if (f==55) {
		chosen_height55 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width55 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==56) {
		chosen_height56 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width56 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==57) {
		chosen_height57 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width57 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==58) {
		chosen_height58 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width58 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==59) {
		chosen_height59 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width59 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 60) {
		if (f==60) {
		chosen_height60 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width60 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==61) {
		chosen_height61 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width61 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==62) {
		chosen_height62 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width62 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==63) {
		chosen_height63 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width63 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==64) {
		chosen_height64 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width64 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 65) {
		if (f==65) {
		chosen_height65 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width65 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==66) {
		chosen_height66 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width66 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==67) {
		chosen_height67 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width67 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==68) {
		chosen_height68 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width68 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==69) {
		chosen_height69 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width69 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 70) {
		if (f==70) {
		chosen_height70 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width70 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==71) {
		chosen_height71 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width71 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==72) {
		chosen_height72 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width72 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==73) {
		chosen_height73 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width73 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==74) {
		chosen_height74 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width74 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 75) {
		if (f==75) {
		chosen_height75 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width75 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==76) {
		chosen_height76 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width76 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==77) {
		chosen_height77 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width77 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==78) {
		chosen_height78 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width78 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==79) {
		chosen_height79 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width79 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 80) {
		if (f==80) {
		chosen_height80 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width80 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==81) {
		chosen_height81 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width81 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==82) {
		chosen_height82 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width82 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==83) {
		chosen_height83 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width83 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==84) {
		chosen_height84 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width84 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 85) {
		if (f==85) {
		chosen_height85 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width85 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==86) {
		chosen_height86 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width86 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==87) {
		chosen_height87 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width87 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==88) {
		chosen_height88 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width88 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==89) {
		chosen_height89 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width89 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 90) {
		if (f==90) {
		chosen_height90 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width90 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==91) {
		chosen_height91 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width91 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==92) {
		chosen_height92 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width92 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==93) {
		chosen_height93 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width93 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==94) {
		chosen_height94 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width94 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (chosen_fm_ul_store.length >= 95) {
		if (f==95) {
		chosen_height95 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width95 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==96) {
		chosen_height96 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width96 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==97) {
		chosen_height97 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width97 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==98) {
		chosen_height98 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width98 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==99) {
		chosen_height99 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width99 = chosen_fm_ul_store[f].offsetWidth;
		}
		if (f==100) {
		chosen_height100 = chosen_fm_ul_store[f].offsetHeight;
		chosen_width100 = chosen_fm_ul_store[f].offsetWidth;
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
		}
	}
	
	var nn_global;
	var nn_holder_global;
	
	// resets all off-screen ul's
	function chosen_fader_menu_set_none() {
	var chosen_fm_ul2 = document.getElementById("chosen_navv").getElementsByTagName("UL");
	var nn = 0;
	for (var n =0; n<chosen_fm_ul2.length; n++) {
		id_chosen_fm = chosen_fm_ul2[n].id;
		chosen_fm_ul2[n].style.filter = "none";
		if (id_chosen_fm.charAt(8) != "0") {
			if (chosen_fm_ul2[n].offsetLeft < 0) {
			
					var chosen_opacc = 0; 
					document.getElementById(id_chosen_fm).style.opacity = (chosen_opacc / 100);
					document.getElementById(id_chosen_fm).style.MozOpacity = (chosen_opacc / 100);
					document.getElementById(id_chosen_fm).style.KhtmlOpacity = (chosen_opacc / 100);
					document.getElementById(id_chosen_fm).style.filter = "alpha(opacity=" + chosen_opacc + ")";
	
					if (chosen_fm_ul2.length >= 1) {
					if (n==1) {
					chosen_fm_ul2[n].style.height = (chosen_height1 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width1 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 2) {
					if (n==2) {
					chosen_fm_ul2[n].style.height = (chosen_height2 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width2 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 3) {
					if (n==3) {
					chosen_fm_ul2[n].style.height = (chosen_height3 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width3 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 4) {
					if (n==4) {
					chosen_fm_ul2[n].style.height = (chosen_height4 - 3) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width4 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 5) {
					if (n==5) {
					chosen_fm_ul2[n].style.height = (chosen_height5 - 3) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width5 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 6) {
					if (n==6) {
					chosen_fm_ul2[n].style.height = (chosen_height6 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width6 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 7) {
					if (n==7) {
					chosen_fm_ul2[n].style.height = (chosen_height7 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width7 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 8) {
					if (n==8) {
					chosen_fm_ul2[n].style.height = (chosen_height8 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width8 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 9) {
					if (n==9) {
					chosen_fm_ul2[n].style.height = (chosen_height9 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width9 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 10) {
					if (n==10) {
					chosen_fm_ul2[n].style.height = (chosen_height10 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width10 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 11) {
					if (n==11) {
					chosen_fm_ul2[n].style.height = (chosen_height11 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width11 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 12) {
					if (n==12) {
					chosen_fm_ul2[n].style.height = (chosen_height12 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width12 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 13) {
					if (n==13) {
					chosen_fm_ul2[n].style.height = (chosen_height13 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width13 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 14) {
					if (n==14) {
					chosen_fm_ul2[n].style.height = (chosen_height14 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width14 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 15) {
					if (n==15) {
					chosen_fm_ul2[n].style.height = (chosen_height15 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width15 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 16) {
					if (n==16) {
					chosen_fm_ul2[n].style.height = (chosen_height16 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width16 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 17) {
					if (n==17) {
					chosen_fm_ul2[n].style.height = (chosen_height17 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width17 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 18) {
					if (n==18) {
					chosen_fm_ul2[n].style.height = (chosen_height18 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width18 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 19) {
					if (n==19) {
					chosen_fm_ul2[n].style.height = (chosen_height19 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width19 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 20) {
					if (n==20) {
					chosen_fm_ul2[n].style.height = (chosen_height20 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width20 - 2) + "px";
					}
					if (n==21) {
					chosen_fm_ul2[n].style.height = (chosen_height21 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width21 - 2) + "px";
					}
					if (n==22) {
					chosen_fm_ul2[n].style.height = (chosen_height22 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width22 - 2) + "px";
					}
					if (n==23) {
					chosen_fm_ul2[n].style.height = (chosen_height23 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width23 - 2) + "px";
					}
					if (n==24) {
					chosen_fm_ul2[n].style.height = (chosen_height24 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width24 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 25) {
					if (n==25) {
					chosen_fm_ul2[n].style.height = (chosen_height25 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width25 - 2) + "px";
					}
					if (n==26) {
					chosen_fm_ul2[n].style.height = (chosen_height26 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width26 - 2) + "px";
					}
					if (n==27) {
					chosen_fm_ul2[n].style.height = (chosen_height27 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width27 - 2) + "px";
					}
					if (n==28) {
					chosen_fm_ul2[n].style.height = (chosen_height28 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width28 - 2) + "px";
					}
					if (n==29) {
					chosen_fm_ul2[n].style.height = (chosen_height29 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width29 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 30) {
					if (n==30) {
					chosen_fm_ul2[n].style.height = (chosen_height30 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width30 - 2) + "px";
					}
					if (n==31) {
					chosen_fm_ul2[n].style.height = (chosen_height31 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width31 - 2) + "px";
					}
					if (n==32) {
					chosen_fm_ul2[n].style.height = (chosen_height32 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width32 - 2) + "px";
					}
					if (n==33) {
					chosen_fm_ul2[n].style.height = (chosen_height33 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width33 - 2) + "px";
					}
					if (n==34) {
					chosen_fm_ul2[n].style.height = (chosen_height34 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width34 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 35) {
					if (n==35) {
					chosen_fm_ul2[n].style.height = (chosen_height35 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width35 - 2) + "px";
					}
					if (n==36) {
					chosen_fm_ul2[n].style.height = (chosen_height36 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width36 - 2) + "px";
					}
					if (n==37) {
					chosen_fm_ul2[n].style.height = (chosen_height37 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width37 - 2) + "px";
					}
					if (n==38) {
					chosen_fm_ul2[n].style.height = (chosen_height38 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width38 - 2) + "px";
					}
					if (n==39) {
					chosen_fm_ul2[n].style.height = (chosen_height39 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width39 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 40) {
					if (n==40) {
					chosen_fm_ul2[n].style.height = (chosen_height40 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width40 - 2) + "px";
					}
					if (n==41) {
					chosen_fm_ul2[n].style.height = (chosen_height41 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width41 - 2) + "px";
					}
					if (n==42) {
					chosen_fm_ul2[n].style.height = (chosen_height42 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width42 - 2) + "px";
					}
					if (n==43) {
					chosen_fm_ul2[n].style.height = (chosen_height43 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width43 - 2) + "px";
					}
					if (n==44) {
					chosen_fm_ul2[n].style.height = (chosen_height44 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width44 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 45) {
					if (n==45) {
					chosen_fm_ul2[n].style.height = (chosen_height45 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width45 - 2) + "px";
					}
					if (n==46) {
					chosen_fm_ul2[n].style.height = (chosen_height46 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width46 - 2) + "px";
					}
					if (n==47) {
					chosen_fm_ul2[n].style.height = (chosen_height47 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width47 - 2) + "px";
					}
					if (n==48) {
					chosen_fm_ul2[n].style.height = (chosen_height48 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width48 - 2) + "px";
					}
					if (n==49) {
					chosen_fm_ul2[n].style.height = (chosen_height49 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width49 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 50) {
					if (n==50) {
					chosen_fm_ul2[n].style.height = (chosen_height50 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width50 - 2) + "px";
					}
					if (n==51) {
					chosen_fm_ul2[n].style.height = (chosen_height51 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width51 - 2) + "px";
					}
					if (n==52) {
					chosen_fm_ul2[n].style.height = (chosen_height52 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width52 - 2) + "px";
					}
					if (n==53) {
					chosen_fm_ul2[n].style.height = (chosen_height53 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width53 - 2) + "px";
					}
					if (n==54) {
					chosen_fm_ul2[n].style.height = (chosen_height54 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width54 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 55) {
					if (n==55) {
					chosen_fm_ul2[n].style.height = (chosen_height55 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width55 - 2) + "px";
					}
					if (n==56) {
					chosen_fm_ul2[n].style.height = (chosen_height56 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width56 - 2) + "px";
					}
					if (n==57) {
					chosen_fm_ul2[n].style.height = (chosen_height57 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width57 - 2) + "px";
					}
					if (n==58) {
					chosen_fm_ul2[n].style.height = (chosen_height58 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width58 - 2) + "px";
					}
					if (n==59) {
					chosen_fm_ul2[n].style.height = (chosen_height59 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width59 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 60) {
					if (n==60) {
					chosen_fm_ul2[n].style.height = (chosen_height60 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width60 - 2) + "px";
					}
					if (n==61) {
					chosen_fm_ul2[n].style.height = (chosen_height61 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width61 - 2) + "px";
					}
					if (n==62) {
					chosen_fm_ul2[n].style.height = (chosen_height62 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width62 - 2) + "px";
					}
					if (n==63) {
					chosen_fm_ul2[n].style.height = (chosen_height63 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width63 - 2) + "px";
					}
					if (n==64) {
					chosen_fm_ul2[n].style.height = (chosen_height64 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width64 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 65) {
					if (n==65) {
					chosen_fm_ul2[n].style.height = (chosen_height65 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width65 - 2) + "px";
					}
					if (n==66) {
					chosen_fm_ul2[n].style.height = (chosen_height66 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width66 - 2) + "px";
					}
					if (n==67) {
					chosen_fm_ul2[n].style.height = (chosen_height67 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width67 - 2) + "px";
					}
					if (n==68) {
					chosen_fm_ul2[n].style.height = (chosen_height68 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width68 - 2) + "px";
					}
					if (n==69) {
					chosen_fm_ul2[n].style.height = (chosen_height69 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width69 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 70) {
					if (n==70) {
					chosen_fm_ul2[n].style.height = (chosen_height70 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width70 - 2) + "px";
					}
					if (n==71) {
					chosen_fm_ul2[n].style.height = (chosen_height71 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width71 - 2) + "px";
					}
					if (n==72) {
					chosen_fm_ul2[n].style.height = (chosen_height72 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width72 - 2) + "px";
					}
					if (n==73) {
					chosen_fm_ul2[n].style.height = (chosen_height73 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width73 - 2) + "px";
					}
					if (n==74) {
					chosen_fm_ul2[n].style.height = (chosen_height74 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width74 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 75) {
					if (n==75) {
					chosen_fm_ul2[n].style.height = (chosen_height75 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width75 - 2) + "px";
					}
					if (n==76) {
					chosen_fm_ul2[n].style.height = (chosen_height76 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width76 - 2) + "px";
					}
					if (n==77) {
					chosen_fm_ul2[n].style.height = (chosen_height77 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width77 - 2) + "px";
					}
					if (n==78) {
					chosen_fm_ul2[n].style.height = (chosen_height78 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width78 - 2) + "px";
					}
					if (n==79) {
					chosen_fm_ul2[n].style.height = (chosen_height79 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width79 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 80) {
					if (n==80) {
					chosen_fm_ul2[n].style.height = (chosen_height80 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width80 - 2) + "px";
					}
					if (n==81) {
					chosen_fm_ul2[n].style.height = (chosen_height81 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width81 - 2) + "px";
					}
					if (n==82) {
					chosen_fm_ul2[n].style.height = (chosen_height82 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width82 - 2) + "px";
					}
					if (n==83) {
					chosen_fm_ul2[n].style.height = (chosen_height83 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width83 - 2) + "px";
					}
					if (n==84) {
					chosen_fm_ul2[n].style.height = (chosen_height84 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width84 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 85) {
					if (n==85) {
					chosen_fm_ul2[n].style.height = (chosen_height85 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width85 - 2) + "px";
					}
					if (n==86) {
					chosen_fm_ul2[n].style.height = (chosen_height86 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width86 - 2) + "px";
					}
					if (n==87) {
					chosen_fm_ul2[n].style.height = (chosen_height87 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width87 - 2) + "px";
					}
					if (n==88) {
					chosen_fm_ul2[n].style.height = (chosen_height88 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width88 - 2) + "px";
					}
					if (n==89) {
					chosen_fm_ul2[n].style.height = (chosen_height89 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width89 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 90) {
					if (n==90) {
					chosen_fm_ul2[n].style.height = (chosen_height90 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width90 - 2) + "px";
					}
					if (n==91) {
					chosen_fm_ul2[n].style.height = (chosen_height91 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width91 - 2) + "px";
					}
					if (n==92) {
					chosen_fm_ul2[n].style.height = (chosen_height92 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width92 - 2) + "px";
					}
					if (n==93) {
					chosen_fm_ul2[n].style.height = (chosen_height93 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width93 - 2) + "px";
					}
					if (n==94) {
					chosen_fm_ul2[n].style.height = (chosen_height94 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width94 - 2) + "px";
					}
					if (chosen_fm_ul2.length >= 95) {
					if (n==95) {
					chosen_fm_ul2[n].style.height = (chosen_height95 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width95 - 2) + "px";
					}
					if (n==96) {
					chosen_fm_ul2[n].style.height = (chosen_height96 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width96 - 2) + "px";
					}
					if (n==97) {
					chosen_fm_ul2[n].style.height = (chosen_height97 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width97 - 2) + "px";
					}
					if (n==98) {
					chosen_fm_ul2[n].style.height = (chosen_height98 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width98 - 2) + "px";
					}
					if (n==99) {
					chosen_fm_ul2[n].style.height = (chosen_height99 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width99 - 2) + "px";
					}
					if (n==100) {
					chosen_fm_ul2[n].style.height = (chosen_height100 - 2) + "px";
					chosen_fm_ul2[n].style.width = (chosen_width100 - 2) + "px";
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					}
					
				chosen_fm_ul2[n].style.display = "none";
				chosen_fm_ul2[n].style.visibility = "hidden";
			}
		}
		nn = nn + 1;
	}

	}
	
	chosen_fader_menu_set_none();
	document.onmouseover=chosen_fader_menu_set_none;
	
function chosen_fader_menu_hide() {
	opacity_chosen_fm(id_chosen_fm, 100, 0, 1);
}

var chosen_fm_height;
var chosen_fm_width;

function chosen_fader_menu_show() {
	opacity_chosen_fm(id_chosen_fm, 0, 100, 600);
	chosen_fader_menu_show_block();
}

var chosen_n;

// show the ul's
function chosen_fader_menu_show_block() {
	document.getElementById(chosen_ul).style.overflow = "hidden";
	document.getElementById(chosen_ul).style.visibility = "hidden";
	document.getElementById(chosen_ul).style.display = "block";
	chosen_fm_height = document.getElementById(chosen_ul).offsetHeight;
	chosen_fm_width = document.getElementById(chosen_ul).offsetWidth;
	document.getElementById(chosen_ul).style.height = "0px";
	document.getElementById(chosen_ul).style.width = "0px";
			var chosen_id_num1 = chosen_ul.charAt(8);
			var chosen_id_num2 = 0;
			var chosen_id_num3 = 0;
			chosen_id_num2 = theId.charAt(9);
			chosen_id_num3 = theId.charAt(10);
			chosen_n = chosen_id_num1 + chosen_id_num2 + chosen_id_num3;
			document.getElementById(chosen_ul).style.visibility = "visible";
			document.getElementById(chosen_ul).style.filter = "none";
			
	checkVersion_chosen();
	chosen_fader_menu_effect_loader();
}

// detect IE
var chosen_browser_detect_fader = 0;

function getInternetExplorerVersion_chosen() {
  var rv = -1; // Return value assumes failure.
  if (navigator.appName == 'Microsoft Internet Explorer')
  {
  chosen_browser_detect_fader = 1;
    var ua = navigator.userAgent;
    var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
    if (re.exec(ua) != null)
      rv = parseFloat( RegExp.$1 );
  }
  return rv;
}

function checkVersion_chosen() {
  var ver = getInternetExplorerVersion_chosen();
}

var myInterval_chosen = 0;

function chosen_fader_menu_effect_loader() {
if (chosen_browser_detect_fader == "1") {
clearInterval(myInterval_chosen);
myInterval_chosen = 0;
myInterval_chosen = window.setInterval("chosen_fader_menu_effect()",30);
}
else {
clearInterval(myInterval_chosen);
myInterval_chosen = 0;
myInterval_chosen = window.setInterval("chosen_fader_menu_effect()",30);
}
}

// drop in effect
function chosen_fader_menu_effect() {
			
			if (document.getElementById(chosen_ul).offsetHeight < ((chosen_fm_height)-1)) {

			if (document.getElementById(chosen_ul).offsetHeight > (chosen_fm_height*.75)) {
			document.getElementById(chosen_ul).style.filter = "none";
			}
					document.getElementById(chosen_ul).style.height = document.getElementById(chosen_ul).offsetHeight + (chosen_fm_height * 1) -4 + "px";
					document.getElementById(chosen_ul).style.width = document.getElementById(chosen_ul).offsetWidth + (chosen_fm_width * 1) + "px";
			}
			
			else {
			
			window.clearInterval(myInterval_chosen);
			myInterval_chosen = 0;
			
					if (chosen_n=="1") {
					document.getElementById(chosen_ul).style.height = (chosen_height1 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width1 - 2) + "px";
					}
					if (chosen_n=="2") {
					document.getElementById(chosen_ul).style.height = (chosen_height2 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width2 - 2) + "px";
					}
					if (chosen_n=="3") {
					document.getElementById(chosen_ul).style.height = (chosen_height3 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width3 - 2) + "px";
					}
					if (chosen_n=="4") {
					document.getElementById(chosen_ul).style.height = (chosen_height4 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width4 - 2) + "px";
					}
					if (chosen_n=="5") {
					document.getElementById(chosen_ul).style.height = (chosen_height5 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width5 - 2) + "px";
					}
					if (chosen_n=="6") {
					document.getElementById(chosen_ul).style.height = (chosen_height6 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width6 - 2) + "px";
					}
					if (chosen_n=="7") {
					document.getElementById(chosen_ul).style.height = (chosen_height7 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width7 - 2) + "px";
					}
					if (chosen_n=="8") {
					document.getElementById(chosen_ul).style.height = (chosen_height8 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width8 - 2) + "px";
					}
					if (chosen_n=="9") {
					document.getElementById(chosen_ul).style.height = (chosen_height9 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width9 - 2) + "px";
					}
					if (chosen_n=="10") {
					document.getElementById(chosen_ul).style.height = (chosen_height10 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width10 - 2) + "px";
					}
					if (chosen_n=="11") {
					document.getElementById(chosen_ul).style.height = (chosen_height11 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width11 - 2) + "px";
					}
					if (chosen_n=="12") {
					document.getElementById(chosen_ul).style.height = (chosen_height12 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width12 - 2) + "px";
					}
					if (chosen_n=="13") {
					document.getElementById(chosen_ul).style.height = (chosen_height13 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width13 - 2) + "px";
					}
					if (chosen_n=="14") {
					document.getElementById(chosen_ul).style.height = (chosen_height14 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width14 - 2) + "px";
					}
					if (chosen_n=="15") {
					document.getElementById(chosen_ul).style.height = (chosen_height15 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width15 - 2) + "px";
					}
					if (chosen_n=="16") {
					document.getElementById(chosen_ul).style.height = (chosen_height16 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width16 - 2) + "px";
					}
					if (chosen_n=="17") {
					document.getElementById(chosen_ul).style.height = (chosen_height17 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width17 - 2) + "px";
					}
					if (chosen_n=="18") {
					document.getElementById(chosen_ul).style.height = (chosen_height18 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width18 - 2) + "px";
					}
					if (chosen_n=="19") {
					document.getElementById(chosen_ul).style.height = (chosen_height19 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width19 - 2) + "px";
					}
					if (chosen_n=="20") {
					document.getElementById(chosen_ul).style.height = (chosen_height20 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width20 - 2) + "px";
					}
					if (chosen_n=="21") {
					document.getElementById(chosen_ul).style.height = (chosen_height21 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width21 - 2) + "px";
					}
					if (chosen_n=="22") {
					document.getElementById(chosen_ul).style.height = (chosen_height22 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width22 - 2) + "px";
					}
					if (chosen_n=="23") {
					document.getElementById(chosen_ul).style.height = (chosen_height23 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width23 - 2) + "px";
					}
					if (chosen_n=="24") {
					document.getElementById(chosen_ul).style.height = (chosen_height24 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width24 - 2) + "px";
					}
					if (chosen_n=="25") {
					document.getElementById(chosen_ul).style.height = (chosen_height25 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width25 - 2) + "px";
					}
					if (chosen_n=="26") {
					document.getElementById(chosen_ul).style.height = (chosen_height26 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width26 - 2) + "px";
					}
					if (chosen_n=="27") {
					document.getElementById(chosen_ul).style.height = (chosen_height27 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width27 - 2) + "px";
					}
					if (chosen_n=="28") {
					document.getElementById(chosen_ul).style.height = (chosen_height28 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width28 - 2) + "px";
					}
					if (chosen_n=="29") {
					document.getElementById(chosen_ul).style.height = (chosen_height29 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width29 - 2) + "px";
					}
					if (chosen_n=="30") {
					document.getElementById(chosen_ul).style.height = (chosen_height30 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width30 - 2) + "px";
					}
					if (chosen_n=="31") {
					document.getElementById(chosen_ul).style.height = (chosen_height31 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width31 - 2) + "px";
					}
					if (chosen_n=="32") {
					document.getElementById(chosen_ul).style.height = (chosen_height32 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width32 - 2) + "px";
					}
					if (chosen_n=="33") {
					document.getElementById(chosen_ul).style.height = (chosen_height33 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width33 - 2) + "px";
					}
					if (chosen_n=="34") {
					document.getElementById(chosen_ul).style.height = (chosen_height34 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width34 - 2) + "px";
					}
					if (chosen_n=="35") {
					document.getElementById(chosen_ul).style.height = (chosen_height35 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width35 - 2) + "px";
					}
					if (chosen_n=="36") {
					document.getElementById(chosen_ul).style.height = (chosen_height36 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width36 - 2) + "px";
					}
					if (chosen_n=="37") {
					document.getElementById(chosen_ul).style.height = (chosen_height37 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width37 - 2) + "px";
					}
					if (chosen_n=="38") {
					document.getElementById(chosen_ul).style.height = (chosen_height38 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width38 - 2) + "px";
					}
					if (chosen_n=="39") {
					document.getElementById(chosen_ul).style.height = (chosen_height39 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width39 - 2) + "px";
					}
					if (chosen_n=="40") {
					document.getElementById(chosen_ul).style.height = (chosen_height40 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width40 - 2) + "px";
					}
					if (chosen_n=="41") {
					document.getElementById(chosen_ul).style.height = (chosen_height41 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width41 - 2) + "px";
					}
					if (chosen_n=="42") {
					document.getElementById(chosen_ul).style.height = (chosen_height42 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width42 - 2) + "px";
					}
					if (chosen_n=="43") {
					document.getElementById(chosen_ul).style.height = (chosen_height43 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width43 - 2) + "px";
					}
					if (chosen_n=="44") {
					document.getElementById(chosen_ul).style.height = (chosen_height44 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width44 - 2) + "px";
					}
					if (chosen_n=="45") {
					document.getElementById(chosen_ul).style.height = (chosen_height45 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width45 - 2) + "px";
					}
					if (chosen_n=="46") {
					document.getElementById(chosen_ul).style.height = (chosen_height46 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width46 - 2) + "px";
					}
					if (chosen_n=="47") {
					document.getElementById(chosen_ul).style.height = (chosen_height47 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width47 - 2) + "px";
					}
					if (chosen_n=="48") {
					document.getElementById(chosen_ul).style.height = (chosen_height48 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width48 - 2) + "px";
					}
					if (chosen_n=="49") {
					document.getElementById(chosen_ul).style.height = (chosen_height49 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width49 - 2) + "px";
					}
					if (chosen_n=="50") {
					document.getElementById(chosen_ul).style.height = (chosen_height50 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width50 - 2) + "px";
					}
					if (chosen_n=="51") {
					document.getElementById(chosen_ul).style.height = (chosen_height51 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width51 - 2) + "px";
					}
					if (chosen_n=="52") {
					document.getElementById(chosen_ul).style.height = (chosen_height52 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width52 - 2) + "px";
					}
					if (chosen_n=="53") {
					document.getElementById(chosen_ul).style.height = (chosen_height53 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width53 - 2) + "px";
					}
					if (chosen_n=="54") {
					document.getElementById(chosen_ul).style.height = (chosen_height54 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width54 - 2) + "px";
					}
					if (chosen_n=="55") {
					document.getElementById(chosen_ul).style.height = (chosen_height55 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width55 - 2) + "px";
					}
					if (chosen_n=="56") {
					document.getElementById(chosen_ul).style.height = (chosen_height56 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width56 - 2) + "px";
					}
					if (chosen_n=="57") {
					document.getElementById(chosen_ul).style.height = (chosen_height57 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width57 - 2) + "px";
					}
					if (chosen_n=="58") {
					document.getElementById(chosen_ul).style.height = (chosen_height58 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width58 - 2) + "px";
					}
					if (chosen_n=="59") {
					document.getElementById(chosen_ul).style.height = (chosen_height59 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width59 - 2) + "px";
					}
					if (chosen_n=="60") {
					document.getElementById(chosen_ul).style.height = (chosen_height60 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width60 - 2) + "px";
					}
					if (chosen_n=="61") {
					document.getElementById(chosen_ul).style.height = (chosen_height61 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width61 - 2) + "px";
					}
					if (chosen_n=="62") {
					document.getElementById(chosen_ul).style.height = (chosen_height62 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width62 - 2) + "px";
					}
					if (chosen_n=="63") {
					document.getElementById(chosen_ul).style.height = (chosen_height63 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width63 - 2) + "px";
					}
					if (chosen_n=="64") {
					document.getElementById(chosen_ul).style.height = (chosen_height64 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width64 - 2) + "px";
					}
					if (chosen_n=="65") {
					document.getElementById(chosen_ul).style.height = (chosen_height65 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width65 - 2) + "px";
					}
					if (chosen_n=="66") {
					document.getElementById(chosen_ul).style.height = (chosen_height66 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width66 - 2) + "px";
					}
					if (chosen_n=="67") {
					document.getElementById(chosen_ul).style.height = (chosen_height67 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width67 - 2) + "px";
					}
					if (chosen_n=="68") {
					document.getElementById(chosen_ul).style.height = (chosen_height68 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width68 - 2) + "px";
					}
					if (chosen_n=="69") {
					document.getElementById(chosen_ul).style.height = (chosen_height69 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width69 - 2) + "px";
					}
					if (chosen_n=="70") {
					document.getElementById(chosen_ul).style.height = (chosen_height70 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width70 - 2) + "px";
					}
					if (chosen_n=="71") {
					document.getElementById(chosen_ul).style.height = (chosen_height71 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width71 - 2) + "px";
					}
					if (chosen_n=="72") {
					document.getElementById(chosen_ul).style.height = (chosen_height72 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width72 - 2) + "px";
					}
					if (chosen_n=="73") {
					document.getElementById(chosen_ul).style.height = (chosen_height73 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width73 - 2) + "px";
					}
					if (chosen_n=="74") {
					document.getElementById(chosen_ul).style.height = (chosen_height74 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width74 - 2) + "px";
					}
					if (chosen_n=="75") {
					document.getElementById(chosen_ul).style.height = (chosen_height75 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width75 - 2) + "px";
					}
					if (chosen_n=="76") {
					document.getElementById(chosen_ul).style.height = (chosen_height76 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width76 - 2) + "px";
					}
					if (chosen_n=="77") {
					document.getElementById(chosen_ul).style.height = (chosen_height77 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width77 - 2) + "px";
					}
					if (chosen_n=="78") {
					document.getElementById(chosen_ul).style.height = (chosen_height78 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width78 - 2) + "px";
					}
					if (chosen_n=="79") {
					document.getElementById(chosen_ul).style.height = (chosen_height79 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width79 - 2) + "px";
					}
					if (chosen_n=="80") {
					document.getElementById(chosen_ul).style.height = (chosen_height80 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width80 - 2) + "px";
					}
					if (chosen_n=="81") {
					document.getElementById(chosen_ul).style.height = (chosen_height81 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width81 - 2) + "px";
					}
					if (chosen_n=="82") {
					document.getElementById(chosen_ul).style.height = (chosen_height82 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width82 - 2) + "px";
					}
					if (chosen_n=="83") {
					document.getElementById(chosen_ul).style.height = (chosen_height83 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width83 - 2) + "px";
					}
					if (chosen_n=="84") {
					document.getElementById(chosen_ul).style.height = (chosen_height84 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width84 - 2) + "px";
					}
					if (chosen_n=="85") {
					document.getElementById(chosen_ul).style.height = (chosen_height85 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width85 - 2) + "px";
					}
					if (chosen_n=="86") {
					document.getElementById(chosen_ul).style.height = (chosen_height86 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width86 - 2) + "px";
					}
					if (chosen_n=="87") {
					document.getElementById(chosen_ul).style.height = (chosen_height87 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width87 - 2) + "px";
					}
					if (chosen_n=="88") {
					document.getElementById(chosen_ul).style.height = (chosen_height88 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width88 - 2) + "px";
					}
					if (chosen_n=="89") {
					document.getElementById(chosen_ul).style.height = (chosen_height89 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width89 - 2) + "px";
					}
					if (chosen_n=="90") {
					document.getElementById(chosen_ul).style.height = (chosen_height90 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width90 - 2) + "px";
					}
					if (chosen_n=="91") {
					document.getElementById(chosen_ul).style.height = (chosen_height91 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width91 - 2) + "px";
					}
					if (chosen_n=="92") {
					document.getElementById(chosen_ul).style.height = (chosen_height92 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width92 - 2) + "px";
					}
					if (chosen_n=="93") {
					document.getElementById(chosen_ul).style.height = (chosen_height93 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width93 - 2) + "px";
					}
					if (chosen_n=="94") {
					document.getElementById(chosen_ul).style.height = (chosen_height94 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width94 - 2) + "px";
					}
					if (chosen_n=="95") {
					document.getElementById(chosen_ul).style.height = (chosen_height95 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width95 - 2) + "px";
					}
					if (chosen_n=="96") {
					document.getElementById(chosen_ul).style.height = (chosen_height96 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width96 - 2) + "px";
					}
					if (chosen_n=="97") {
					document.getElementById(chosen_ul).style.height = (chosen_height97 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width97 - 2) + "px";
					}
					if (chosen_n=="98") {
					document.getElementById(chosen_ul).style.height = (chosen_height98 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width98 - 2) + "px";
					}
					if (chosen_n=="99") {
					document.getElementById(chosen_ul).style.height = (chosen_height99 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width99 - 2) + "px";
					}
					if (chosen_n=="100") {
					document.getElementById(chosen_ul).style.height = (chosen_height100 - 2) + "px";
					document.getElementById(chosen_ul).style.width = (chosen_width100 - 2) + "px";
					}
					
					document.getElementById(chosen_ul).style.overflow = "visible";
	
					}
}

// grabs the id of element hover overed
var theId;
function grabID_chosen_fm(e) {
var targ;
if (!e) var e = window.event;
if (e.target) targ = e.target;
else if (e.srcElement) targ = e.srcElement;
if (targ.nodeType == 3)
targ = targ.parentNode;
theId=targ.id
check_id_second();
}

function check_id_timer() {
window.setTimeout('check_id()',1);
}

function check_id() {
if (myInterval_chosen != "0") {
document.getElementById(chosen_ul).style.overflow = "hidden";
chosen_fader_menu_effect_loader();
}
else {
document.getElementById("chosen_navv").onmouseover=grabID_chosen_fm;
}
}

function check_id_second() {
document.getElementById("chosen_navv").onmouseover=grabID_chosen_fm;
if (theId) {

if (theId.charAt(6) == "a" || theId.charAt(6) == "l" || theId.charAt(6) == "u" &&  theId.charAt(8) != "0") {

			var chosen_id_text = "chosen_fm_ul";
			var chosen_id_num1 = theId.charAt(8);
			var chosen_id_num2 = 0;
			var chosen_id_num3 = 0;
			chosen_id_num2 = theId.charAt(9);
			chosen_id_num3 = theId.charAt(10);
			chosen_ul = chosen_id_text + chosen_id_num1 + chosen_id_num2 + chosen_id_num3;
			id_chosen_fm = chosen_ul;

			if (document.getElementById(chosen_ul).style.display != "block") {
				chosen_fader_menu_hide();
				chosen_fader_menu_show();
			}

	}
}
}

var is_ie_chosen_fm/*@cc_on = {
  // quirksmode : (document.compatMode=="BackCompat"),
  version : parseFloat(navigator.appVersion.match(/MSIE (.+?);/)[1])
}@*/;

function opacity_chosen_fm(id_chosen_fm, opacStart_chosen_fm, opacEnd_chosen_fm, millisec_chosen_fm) {
	//speed for each frame
	var speed_chosen_fm = Math.round(millisec_chosen_fm / 100);
	var timer_chosen_fm = 0;
	//determine the direction for the blending, if start and end are the same nothing happens
	if(opacStart_chosen_fm > opacEnd_chosen_fm) {
		for(i = opacStart_chosen_fm; i >= opacEnd_chosen_fm; i--) {
			setTimeout("changeOpac_chosen_fm(" + i + ",'" + id_chosen_fm + "')",(timer_chosen_fm * speed_chosen_fm));
			timer_chosen_fm++;
		}
	} else if(opacStart_chosen_fm < opacEnd_chosen_fm) {
		for(i = opacStart_chosen_fm; i <= opacEnd_chosen_fm; i++)
			{
			setTimeout("changeOpac_chosen_fm(" + i + ",'" + id_chosen_fm + "')",(timer_chosen_fm * speed_chosen_fm));
			timer_chosen_fm++;
		}
	}
}

//change the opacity for different browsers
function changeOpac_chosen_fm(opacity_chosen_fm, id_chosen_fm) {
	var object_chosen_fm = document.getElementById(id_chosen_fm).style; 
	object_chosen_fm.opacity = (opacity_chosen_fm / 100);
	object_chosen_fm.MozOpacity = (opacity_chosen_fm / 100);
	object_chosen_fm.KhtmlOpacity = (opacity_chosen_fm / 100);
    object_chosen_fm.filter = "alpha(opacity=" + opacity_chosen_fm + ")";
}

function blendimage_chosen_fm(divid_chosen_fm, imageid_chosen_fm, imagefile_chosen_fm, millisec_chosen_fm) {
	var speed_chosen_fm = Math.round(millisec_chosen_fm / 100);
	var timer_chosen_fm = 0;
	
	//set the current image as background
	document.getElementById(divid_chosen_fm).style.backgroundImage = "url(" + document.getElementById(imageid_chosen_fm).src + ")";
	
	//make image transparent
	changeOpac_chosen_fm(0, imageid_chosen_fm);
	
	//make new image
	document.getElementById(imageid_chosen_fm).src = imagefile;

	//fade in image
	for(i = 0; i <= 100; i++) {
		setTimeout("changeOpac_chosen_fm(" + i + ",'" + imageid_chosen_fm + "')",(timer_chosen_fm * speed_chosen_fm));
		timer_chosen_fm++;
	}
}

function currentOpac_chosen_fm(id_chosen_fm, opacEnd_chosen_fm, millisec_chosen_fm) {
	//standard opacity is 100
	var currentOpac_chosen_fm = 100;
	
	//if the element has an opacity set, get it
	if(document.getElementById(id_chosen_fm).style.opacity < 100) {
		currentOpac_chosen_fm = document.getElementById(id_chosen_fm).style.opacity * 100;
	}

	//call for the function that changes the opacity
	opacity_chosen_fm(id_chosen_fm, currentOpac_chosen_fm, opacEnd_chosen_fm, millisec_chosen_fm)
}
