//********************************* http://www.neomameplus.com.ar ******************************

//*************************************** text variables: **************************************

//*************************** title image: ****************************

//english:
title_en_1 = "<img src=\"images/title_en_1.jpg\" border=\"0\" alt=\"[ Neo ] MAME32 Plus!\">"
title_en_2 = "<img src=\"images/title_en_2.jpg\" border=\"0\" alt=\"[ Neo ] MAME32 Plus!\">"
title_en_3 = "<img src=\"images/title_en_3.jpg\" border=\"0\" alt=\"[ Neo ] MAME32 Plus!\">"
title_img_en = title_en_1+title_en_2+title_en_3

//espaņol:
title_es_1 = "<img src=\"images/title_es_1.jpg\" border=\"0\" alt=\"[ Neo ] MAME32 Plus!\">"
title_es_2 = "<img src=\"images/title_es_2.jpg\" border=\"0\" alt=\"[ Neo ] MAME32 Plus!\">"
title_es_3 = "<img src=\"images/title_es_3.jpg\" border=\"0\" alt=\"[ Neo ] MAME32 Plus!\">"
title_img_es = title_es_1+title_es_2+title_es_3

//*************************** change language: *************************

lang_eng_img = "<a href=\"en_news.htm\"><img src=\"images/flag_eng.gif\" alt=\"English Version\" border=\"0\"></a>"
lang_esp_img = "<a href=\"es_news.htm\"><img src=\"images/flag_esp.gif\" alt=\"Version en Espaņol\" border=\"0\"></a>"
h5px_spacer = "<br><img src=\"images/spacer.gif\" height=\"5\"><br>"
w5px_spacer = "<img src=\"images/spacer.gif\" width=\"5\">"
margin_spacer = "<img src=\"images/spacer.gif\" width=\"75\" height=\"1\">"

change_language = h5px_spacer+margin_spacer+lang_eng_img+w5px_spacer+lang_esp_img

//*************************** bottom image: *************************

//espaņol:
bottom_img_es = "<div align=\"right\"><img src=\"images/bottom_img_es.gif\" border=\"0\" alt=\"Sonia / Rage of the Dragons\"></div>"

//english:
bottom_img_en = "<div align=\"right\"><img src=\"images/bottom_img_en.gif\" border=\"0\" alt=\"Angel / King of Fighters\"></div>"

//*************************** bottom nav bar: *************************

nav_sepr = " :: "
nav_br = "<br><img src=\"images/spacer.gif\" height=\"10\"><br>"

nav_webmaster = "<a href=\"http://www.jmdzoom.com.ar\" target=\"_blank\"><img src=\"images/webmaster.png\" alt=\"Webmaster\" border=\"0\"></a>"

//english:
nav_home = "<a href=\"index.html\">Home</a>"
nav_news = "<a href=\"en_news.htm\">News</a>"
nav_dwnl = "<a href=\"en_dwnload.htm\">Download</a>"
nav_cnct = "<a href=\"en_contact.htm\">Contact</a>"
nav_lnks = "<a href=\"en_links.htm\">Links</a>"
lang_esp = "</strong><font size=\"1\"><a href=\"es_news.htm\" title=\"Version en Espaņol\">[Cambiar Idioma]</a></font><strong>"
bottom_navbar_en = nav_home+nav_sepr+nav_news+nav_sepr+nav_dwnl+nav_sepr+nav_cnct+nav_sepr+nav_lnks+nav_br+lang_esp+nav_br+nav_webmaster

//espaņol:
nav_prnc = "<a href=\"index.html\">Principal</a>"
nav_noti = "<a href=\"es_news.htm\">Noticias</a>"
nav_desc = "<a href=\"es_dwnload.htm\">Descargas</a>"
nav_ccto = "<a href=\"es_contact.htm\">Contacto</a>"
nav_elnk = "<a href=\"es_links.htm\">Links</a>"
lang_eng = "</strong><font size=\"1\"><a href=\"en_news.htm\" title=\"English Version\">[Switch Language]</a></font><strong>"
bottom_navbar_es = nav_prnc+nav_sepr+nav_noti+nav_sepr+nav_desc+nav_sepr+nav_ccto+nav_sepr+nav_elnk+nav_br+lang_eng+nav_br+nav_webmaster

//*************************** download page: **************************

//line separator:
line_sep = "<img src=\"images/line_blue.gif\" width=\"395\" height=\"11\" align=\"middle\">"

//tags:
tags_color = "#6666CC"
desc_en = "<font color=\""+tags_color+"\">Description:</font>"
desc_es = "<font color=\""+tags_color+"\">Descripci&oacute;n:</font>"
size_en = "<font color=\""+tags_color+"\">Size:</font>"
size_es = "<font color=\""+tags_color+"\">Tama&ntilde;o:</font>"
down_en = "<font color=\""+tags_color+"\">Download:</font>"
down_es = "<font color=\""+tags_color+"\">Descargar:</font>"


//binary:
bin_ver = "0.95"
bin_size = "1354 kb"
dbin_ver = "0.95"
dbin_size = "813 kb"
kclient_ver = "0.9"
kclient_size = "29 kb"
kserver_ver = "0.86"
kserver_size = "21 kb"
unicows_size = "109 kb"
dpmi_size = "54 kb"

//art separator:
art_sep = " <font color=\"#0099FF\">||</font> "
art_upd = "Updates: "

//icons:
//icons = "<a href=\"files/icons.zip\" title=\"220 kb\">[download]</a>"
icons = "<a href=\"http://rapidshare.com/files/23424358/icons.zip.html\" title=\"220 kb\" target=\"_blank\">[download]</a>"
ic095 = "<a href=\"files/icons095.zip\" title=\"4 kb\">[0.95]</a>"
istr01 = icons+art_sep+art_upd+ic095//+art_sep
icons = istr01//+istr02

//snaps:
//snaps = "<a href=\"files/snap.zip\" title=\"3562 kb\">[download]</a>"
snaps = "<a href=\"http://rapidshare.com/files/23423234/snap.zip.html\" title=\"3562 kb\" target=\"_blank\">[download]</a>"
ss095 = "<a href=\"files/snap095.zip\" title=\"53 kb\">[0.95]</a>"
sstr01 = snaps+art_sep+art_upd+ss095//+art_sep
snaps = sstr01//+sstr02

//titles:
//titles = "<a href=\"files/titles.zip\" title=\"2721 kb\">[download]</a>"
titles = "<a href=\"http://rapidshare.com/files/23424286/titles.zip.html\" title=\"2721 kb\" target=\"_blank\">[download]</a>"
tt095 = "<a href=\"files/titles095.zip\" title=\"106 kb\">[0.95]</a>"
tstr01 = titles+art_sep+art_upd+tt095//+art_sep
titles = tstr01//+tstr02

//help file:
hlp_ver = "0.95"
hlp_size = "126 kb"

//extra ips:
ips_ver = "0.86"
ips_size = "180 kb"

//extra cheat:
cheat_ver = "0.80"
cheat_size = "7 kb"

/* removed and added with the binary files
//plus folders:
folders_ver = "01/02"
folders_size = "2 kb"
*/

//romset dat:
romset_dat_ver = "0.95"
romset_dat_size = "130 kb"

//art dat:
art_dat_ver = "0.95"
art_dat_size = "17 kb"

//extra src:
src_ver = "0.95"
src_size = "55 kb"

//**********************************************************************************************

//code used in contact page to copy text to clipboard:


flag=0

function addTex(let)
{
var story = document.tex.texarea.value
if(let=="BACK"){
story=story.substring(0, story.length-1)
document.tex.texarea.value=story
document.tex.texarea.focus()
}

else if(flag==1)
{
story+=let.toUpperCase()
flag=0
document.tex.texarea.value=story
document.tex.texarea.focus()
}
else
{
story+=let
flag=0
document.tex.texarea.value=story
document.tex.texarea.focus()
}
}
function capIt()
{
flag=1
}

//specify whether contents should be auto copied to clipboard (memory)
//Applies only to IE 4+
var copytoclip=1

function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&&copytoclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="The code was succesfully copied / El codigo se copio correctamente"
setTimeout("window.status=''",5000)
}
}

//**********************************************************************************************

//random image:

 do {
 var rn = Math.random();
 var number = Math.floor(rn*183+1);
 var alt = Math.floor(rn*183+1);
 } while(number>=440)

 if (number<10)
 	number = '0'+number;
 if (number<=99)
 	number = '0'+number;

//ALT TEXT FOR IMAGES:
 if (alt==1)
	alt = 'Iori Yagami';
 if (alt==2)
	alt = 'Mai Shiranui';
 if (alt==3)
	alt = 'Slug Tank';
 if (alt==4)
	alt = 'Eri';
 if (alt==5)
	alt = 'Marco';
 if (alt==6)
	alt = 'Soldier';
 if (alt==7)
	alt = 'Angel';
 if (alt==8)
	alt = 'Hanzo Hattori';
 if (alt==9)
	alt = 'Sogetsu Kazama';
 if (alt==10)
	alt = 'Bobble';
 if (alt==11)
	alt = 'Evil Bobble';
 if (alt==12)
	alt = 'K9999';
 if (alt==13)
	alt = 'Kyo Kusanagi';
 if (alt==14)
	alt = 'Alice Carrol';
 if (alt==15)
	alt = 'Annie Murakami';
 if (alt==16)
	alt = 'Billy';
 if (alt==17)
	alt = 'Cassandra Murata';
 if (alt==18)
	alt = 'Elias Patrick';
 if (alt==19)
	alt = 'Jimmy';
 if (alt==20)
	alt = 'Lynn Baker';
 if (alt==21)
	alt = 'Oni Inomura';
 if (alt==22)
	alt = 'Pepe';
 if (alt==23)
	alt = 'Radel';
 if (alt==24)
	alt = 'Sonia Romanenko';
 if (alt==25)
	alt = 'Rock Howard';
 if (alt==26)
	alt = 'Bonne Jenet';
 if (alt==27)
	alt = 'Hotaru Futaba';
 if (alt==28)
	alt = 'Tizoc';
 if (alt==29)
	alt = 'Hahomaru';
 if (alt==30)
	alt = 'Basara Kubikiri';
 if (alt==31)
	alt = 'Kazuki Kazama';
 if (alt==32)
	alt = 'Nakoruru';
 if (alt==33)
	alt = 'Mars People';
 if (alt==34)
	alt = 'Kaoru.Y';
 if (alt==35)
	alt = 'Neo-Geo Logo';
 if (alt==36)
	alt = 'Shigen';
 if (alt==37)
	alt = 'Bob Wilson';
 if (alt==38)
	alt = 'Brocken';
 if (alt==39)
	alt = 'Captain Kidd';
 if (alt==40)
	alt = 'Chin Gentsai';
 if (alt==41)
	alt = 'Franco Bash';
 if (alt==42)
	alt = 'Geese Howard';
 if (alt==43)
	alt = 'Hibiki Takane';
 if (alt==44)
	alt = 'Kain R. Heinlein';
 if (alt==45)
	alt = 'Setsuna';
 if (alt==46)
	alt = 'Genjuro Kibagami';
 if (alt==47)
	alt = 'Juzo';
 if (alt==48)
	alt = 'Mr. Big';
 if (alt==49)
	alt = 'Tung Fu Rue';
 if (alt==50)
	alt = 'Abubo';
 if (alt==51)
	alt = 'Akari';
 if (alt==52)
	alt = 'Alfred';
 if (alt==53)
	alt = 'Amakusa Shiro Tokisada';
 if (alt==54)
	alt = 'Amano Hyo';
 if (alt==55)
	alt = 'Andy Bogard';
 if (alt==56)
	alt = 'Athena Asamiya';
 if (alt==57)
	alt = 'Bao';
 if (alt==58)
	alt = 'Benimaru Nikaido';
 if (alt==59)
	alt = 'Billy Kane';
 if (alt==60)
	alt = 'Blue Mary';
 if (alt==61)
	alt = 'Brian Battler';
 if (alt==62)
	alt = 'Chang Koehan';
 if (alt==63)
	alt = 'Cheng Sin Zan';
 if (alt==64)
	alt = 'Chizuru Kagura';
 if (alt==65)
	alt = 'Jin Chonrei';
 if (alt==66)
	alt = 'Jin Chonshu';
 if (alt==67)
	alt = 'Chris';
 if (alt==68)
	alt = 'Kim Dong Hwan';
 if (alt==69)
	alt = 'Kim Dragon';
 if (alt==70)
	alt = 'Foxy';
 if (alt==71)
	alt = 'Freeman';
 if (alt==72)
	alt = 'Fuuma';
 if (alt==73)
	alt = 'Gaira Caffuin';
 if (alt==74)
	alt = 'Gokuu';
 if (alt==75)
	alt = 'Goro Daimon';
 if (alt==76)
	alt = 'Hanzou';
 if (alt==77)
	alt = 'Heavy D';
 if (alt==78)
	alt = 'Heidern';
 if (alt==79)
	alt = 'Yonjou Hinako';
 if (alt==80)
	alt = 'Hon Fu';
 if (alt==81)
	alt = 'Igniz';
 if (alt==82)
	alt = 'Kim Jae Hoon';
 if (alt==83)
	alt = 'Janne';
 if (alt==84)
	alt = 'Joe Higashi';
 if (alt==85)
	alt = 'Johan';
 if (alt==86)
	alt = 'Mr. Jones';
 if (alt==87)
	alt = 'Jubei Yagyu';
 if (alt==88)
	alt = 'Kaede';
 if (alt==89)
	alt = 'Jae-Mo Kang';
 if (alt==90)
	alt = 'Karman Cole';
 if (alt==91)
	alt = 'Kasumi Todo';
 if (alt==92)
	alt = 'Sie Kensou';
 if (alt==93)
	alt = 'Kim Kap Hwan';
 if (alt==94)
	alt = 'King';
 if (alt==95)
	alt = 'Kouryu';
 if (alt==96)
	alt = 'Wolfgang Krauser';
 if (alt==97)
	alt = 'K';
 if (alt==98)
	alt = 'Kula Diamond';
 if (alt==99)
	alt = 'Shikyo';
 if (alt==100)
	alt = 'Leona Heidern';
 if (alt==101)
	alt = 'Lin';
 if (alt==102)
	alt = 'Lucky Glauber';
 if (alt==103)
	alt = 'Khushnood Butt';
 if (alt==104)
	alt = 'May Lee';
 if (alt==105)
	alt = 'Mudman';
 if (alt==106)
	alt = 'Musashi';
 if (alt==107)
	alt = 'Okina Genbu';
 if (alt==108)
	alt = 'Original Zero';
 if (alt==109)
	alt = 'Orochi';
 if (alt==110)
	alt = 'Big Bear';
 if (alt==111)
	alt = 'Ralf Jones';
 if (alt==112)
	alt = 'Ramon';
 if (alt==113)
	alt = 'Rick Stroud';
 if (alt==114)
	alt = 'Mizuki Rashoujin';
 if (alt==115)
	alt = 'Robert Garcia';
 if (alt==116)
	alt = 'Ryo Sakazaki';
 if (alt==117)
	alt = 'Saisyu Kusanagi';
 if (alt==118)
	alt = 'Seth';
 if (alt==119)
	alt = 'Shermie';
 if (alt==120)
	alt = 'Shizumaru Hisame';
 if (alt==121)
	alt = 'Cham Cham';
 if (alt==122)
	alt = 'Charlotte Colde';
 if (alt==123)
	alt = 'Choi Bounge';
 if (alt==124)
	alt = 'Clark Steele';
 if (alt==125)
	alt = 'Duck King';
 if (alt==126)
	alt = 'Eiji Kasaragi';
 if (alt==127)
	alt = 'Galford Weiler';
 if (alt==128)
	alt = 'Gato';
 if (alt==129)
	alt = 'Gen-An Shiranui';
 if (alt==130)
	alt = 'Leopold Goenitz';
 if (alt==131)
	alt = 'Grant';
 if (alt==132)
	alt = 'Hokutomaru';
 if (alt==133)
	alt = 'Jhun Hoon';
 if (alt==134)
	alt = 'Kagami';
 if (alt==135)
	alt = 'Kevin Rian';
 if (alt==136)
	alt = 'Kuroko';
 if (alt==137)
	alt = 'Laurence Blood';
 if (alt==138)
	alt = 'Lee Recca';
 if (alt==139)
	alt = 'Lenny Kreston';
 if (alt==140)
	alt = 'Mature';
 if (alt==141)
	alt = 'Maxima';
 if (alt==142)
	alt = 'Moriya Minakata';
 if (alt==143)
	alt = 'Mukoro';
 if (alt==144)
	alt = 'Nicotine Caffuin';
 if (alt==145)
	alt = 'Rody Birts';
 if (alt==146)
	alt = 'Shingo Yabuki';
 if (alt==147)
	alt = 'Tam Tam';
 if (alt==148)
	alt = 'Wan-Fu';
 if (alt==149)
	alt = 'Wang Koh San';
 if (alt==150)
	alt = 'Keiichiro Washizuka';
 if (alt==151)
	alt = 'Li Xiangfei';
 if (alt==152)
	alt = 'Yuki';
 if (alt==153)
	alt = 'Zantetsu';
 if (alt==154)
	alt = 'Sokaku Mochizuki';
 if (alt==155)
	alt = 'Takuma Sakazaki';
 if (alt==156)
	alt = 'Terry Bogard';
 if (alt==157)
	alt = 'Ukyo Tachibana';
 if (alt==158)
	alt = 'Vanessa';
 if (alt==159)
	alt = 'Vice';
 if (alt==160)
	alt = 'Whip';
 if (alt==161)
	alt = 'Yashiro Nanakase';
 if (alt==162)
	alt = 'Yuri Sakazaki';
 if (alt==163)
	alt = 'Mina Majikina';
 if (alt==164)
	alt = 'Ash Crimson';
 if (alt==165)
	alt = 'Duo Lon';
 if (alt==166)
	alt = 'Adelheid';
 if (alt==167)
	alt = 'Rasetsumaru';
 if (alt==168)
	alt = 'Rera';
 if (alt==169)
	alt = 'Yoshitora Tokugawa';
 if (alt==170)
	alt = 'Yumeji Kurokochi';
 if (alt==171)
	alt = 'Neinhalt Sieger';
 if (alt==172)
	alt = 'Shiki';
 if (alt==173)
	alt = 'Earthquake';
 if (alt==174)
	alt = 'Enja';
 if (alt==175)
	alt = 'Kusaregedo';
 if (alt==176)
	alt = 'Malin';
 if (alt==177)
	alt = 'Minazuki Zankuro';
 if (alt==178)
	alt = 'Mukai';
 if (alt==179)
	alt = 'Rimururu';
 if (alt==180)
	alt = 'Shen Woo';
 if (alt==181)
	alt = 'Suija';
 if (alt==182)
	alt = 'Yunfei';
 if (alt==183)
	alt = 'Slug Robot';
//END ALT TEXT FOR IMAGES

/* max dimensions for the random image is w170 x h150 */
random_img = "<img src=\"images/anims/anim_"+number+".gif\"  border=0 alt=\""+alt+"\">"
/* random_img = "<img src=\"images/anims/test.gif\"  border=0>" */

//**********************************************************************************************

//links fade effect:


/************* 
**** <config> 
**/ 
startColor = "#00CCFF"; // MouseOut link color 
endColor = "#1773C7"; // MouseOver link color 

stepIn = 20; // delay when fading in 
stepOut = 20; // delay when fading out 

/* 
** set to true or false; true will 
** cause all links to fade automatically 
***/ 
autoFade = true; 
/* 
** set to true or false; true will cause all CSS 
** classes with "fade" in them to fade onmouseover 
***/ 
sloppyClass = true; 
/** 
**** </config> 
**************/ 
/************* 
**** <install> 
** 
** 
**** </install> 
**************/ 

hexa = new makearray(16); 
for(var i = 0; i < 10; i++) 
hexa[i] = i; 
hexa[10]="a"; hexa[11]="b"; hexa[12]="c"; 
hexa[13]="d"; hexa[14]="e"; hexa[15]="f"; 

document.onmouseover = domouseover; 
document.onmouseout = domouseout; 

startColor = dehexize(startColor.toLowerCase()); 
endColor = dehexize(endColor.toLowerCase()); 

var fadeId = new Array(); 

function dehexize(Color){ 
var colorArr = new makearray(3); 
for (i=1; i<7; i++){ 
for (j=0; j<16; j++){ 
if (Color.charAt(i) == hexa[j]){ 
if (i%2 !=0) 
colorArr[Math.floor((i-1)/2)]=eval(j)*16; 
else 
colorArr[Math.floor((i-1)/2)]+=eval(j); 
} 
} 
} 
return colorArr; 
} 

function domouseover() { 
if(document.all){ 
var srcElement = event.srcElement; 
if ((srcElement.tagName == "A" && autoFade) || srcElement.className == "fade" || (sloppyClass && srcElement.className.indexOf("fade") != -1)) 
fade(startColor,endColor,srcElement.uniqueID,stepIn); 
} 
} 

function domouseout() { 
if (document.all){ 
var srcElement = event.srcElement; 
if ((srcElement.tagName == "A" && autoFade) || srcElement.className == "fade" || (sloppyClass && srcElement.className.indexOf("fade") != -1)) 
fade(endColor,startColor,srcElement.uniqueID,stepOut); 
} 
} 

function makearray(n) { 
this.length = n; 
for(var i = 1; i <= n; i++) 
this[i] = 0; 
return this; 
} 

function hex(i) { 
if (i < 0) 
return "00"; 
else if (i > 255) 
return "ff"; 
else 
return "" + hexa[Math.floor(i/16)] + hexa[i%16];} 

function setColor(r, g, b, element) { 
var hr = hex(r); var hg = hex(g); var hb = hex(b); 
element.style.color = "#"+hr+hg+hb; 
} 

function fade(s,e, element,step){ 
var sr = s[0]; var sg = s[1]; var sb = s[2]; 
var er = e[0]; var eg = e[1]; var eb = e[2]; 

if (fadeId[0] != null && fade[0] != element){ 
setColor(sr,sg,sb,eval(fadeId[0])); 
var i = 1; 
while(i < fadeId.length){ 
clearTimeout(fadeId[i]); 
i++; 
} 
} 

for(var i = 0; i <= step; i++) { 
fadeId[i+1] = setTimeout("setColor(Math.floor(" +sr+ " *(( " +step+ " - " +i+ " )/ " +step+ " ) + " +er+ " * (" +i+ "/" + 
step+ ")),Math.floor(" +sg+ " * (( " +step+ " - " +i+ " )/ " +step+ " ) + " +eg+ " * (" +i+ "/" +step+ 
")),Math.floor(" +sb+ " * ((" +step+ "-" +i+ ")/" +step+ ") + " +eb+ " * (" +i+ "/" +step+ ")),"+element+");",i*step); 
} 
fadeId[0] = element; 
}

//**********************************************************************************************