diff --git a/README.md b/README.md index 488c875..5c020f7 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,15 @@ Sudoku alike game and solver totally written in DHTML. Version: 0.25a Date: 25th July 2006, last changes beyond 16th August 2006 (approximately). +Version: 075a +Date: 9th December 2014 + You can donate at http://sourceforge.net/donate/index.php?group_id=173557 Description Yasminoku is an open source "Sudoku" alike game totally written in DHTML (JavaScript, CSS and HTML) that uses mouse. Includes sudoku solver. -This cross-platform and cross-browser game was tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows and others. \ No newline at end of file +This cross-platform and cross-browser game was tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows and others. + +Official web site: http://yasminoku.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/yasminoku/). \ No newline at end of file diff --git a/yasminoku_english.zip b/yasminoku_025a_english.zip similarity index 100% rename from yasminoku_english.zip rename to yasminoku_025a_english.zip diff --git a/yasminoku_025a_english/index.htm b/yasminoku_025a_english/index.htm new file mode 100644 index 0000000..5385b0f --- /dev/null +++ b/yasminoku_025a_english/index.htm @@ -0,0 +1,742 @@ + + + + Yasminoku © (by Joan Alba Maldonado) + + + + + +
see solution
+ + +
try to solve
+ + +
+ Loading... +
+ + +
+ Loading... +
+ + +
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+ +
+
+ +
+
+ +
+ + +
+
+ + +
+
+ + +
+ © Yasminoku 0.25a by Joan Alba Maldonado (granvino@granvino.com)  (DHTML 100%) +
  - Prohibited to publish, reproduce or modify without maintain author's name. +
+   Dedicated to Yasmina Llaveria del Castillo + + + diff --git a/yasminoku_025a_english/readme.txt b/yasminoku_025a_english/readme.txt new file mode 100644 index 0000000..15ef332 --- /dev/null +++ b/yasminoku_025a_english/readme.txt @@ -0,0 +1,8 @@ + Yasminoku + -----------> by Joan Alba Maldonado (100% DHTML). + granvino@granvino.com + + Prohibited to publish, reproduce or modify without maintain author's name. + + Approximate date: 25 of July 2006 (fixes beyond 16 de August 2006). + Dedicated to Yasmina Llaveria del Castillo. \ No newline at end of file diff --git a/yasminoku_025a_english/todo.txt b/yasminoku_025a_english/todo.txt new file mode 100644 index 0000000..426614a --- /dev/null +++ b/yasminoku_025a_english/todo.txt @@ -0,0 +1,10 @@ +//* poder poner numeros iniciales de 0 a 81 otra vez, i un boton para solucionar.. asi servira para solucionar sudokus. (kiza opcion de solucionar o algo asi, ademas de ver solucion) +//(kreo) * al apretar un numero en el teklado del 1 al 9, kambiar la opcion selekcionada del menu. i si se pulsa el 0 eskoger la opcino de borrar ("x"). +//* hacer un setitimeout o algo para k salga i se vea el kargando.. en firefox i en explorer!!!! +//* mensaje de kargando... al empezar el juego i al dibujar mapa (poniendolo en dibujar mapa ya es suficiente kiza). + +* (plantear) optimizar la opcion de intentar solucionar, kalkulando antes las posibilidades de kada kasilla i barajandolas (en lugar de barajar todos los numeros del 1 al 9). +* hacer ke genere sudokus con solo una solucion... si no es posible, hacer ke solucione los numeros iniciales varias veces y luego komprobar si todas las soluciones son iguales (por estadistika, seria mas probable ke solo huviera una solucion si no enkontrara mas de una). +* para saber kuantas soluciones tiene un sudoku, una vez se haia solucionado (si es ke se puede), koger ese sudoku solucionado i probar todas las kombinaciones posibles kambiando numeros en una kasilla, luego en la otra... siempre ke sean numeros posiubles i no el mismo k ia habia antes. + +* opcion de imprimir sudoku, siempre kon el fondo!!! si es kon un sistema visual k ahorre tinta i no el k usa el juego normalmente mejor!!! i kon una opcion para imprimir numeros iniciales solo o esos i tambien los k hemos puesto. \ No newline at end of file diff --git a/yasminoku_spanish.zip b/yasminoku_025a_spanish.zip similarity index 100% rename from yasminoku_spanish.zip rename to yasminoku_025a_spanish.zip diff --git a/yasminoku_025a_spanish/index.htm b/yasminoku_025a_spanish/index.htm new file mode 100644 index 0000000..8e0e8f9 --- /dev/null +++ b/yasminoku_025a_spanish/index.htm @@ -0,0 +1,742 @@ + + + + Yasminoku © (por Joan Alba Maldonado) + + + + + +
ver solución
+ + +
intentar solucionar
+ + +
+ Cargando... +
+ + +
+ Cargando... +
+ + +
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+ +
+
+ +
+
+ +
+ + +
+
+ + +
+
+ + +
+ © Yasminoku 0.25a por Joan Alba Maldonado (granvino@granvino.com)  (100% DHTML) +
  - Prohibido publicar, reproducir o modificar sin citar expresamente al autor original. +
+   Dedicado a Yasmina Llaveria del Castillo + + + diff --git a/yasminoku_025a_spanish/leeme.txt b/yasminoku_025a_spanish/leeme.txt new file mode 100644 index 0000000..adff520 --- /dev/null +++ b/yasminoku_025a_spanish/leeme.txt @@ -0,0 +1,8 @@ + Yasminoku + -----------> por Joan Alba Maldonado (100% DHTML). + granvino@granvino.com + + Prohibido publicar, reproducir o modificar sin citar expresamente al autor original. + + Fecha aproximada: 25 de Julio de 2006 (retoques mas alla del 16 de Agosto de 2006). + Dedicado a Yasmina Llaveria del Castillo. \ No newline at end of file diff --git a/yasminoku_025a_spanish/todo.txt b/yasminoku_025a_spanish/todo.txt new file mode 100644 index 0000000..426614a --- /dev/null +++ b/yasminoku_025a_spanish/todo.txt @@ -0,0 +1,10 @@ +//* poder poner numeros iniciales de 0 a 81 otra vez, i un boton para solucionar.. asi servira para solucionar sudokus. (kiza opcion de solucionar o algo asi, ademas de ver solucion) +//(kreo) * al apretar un numero en el teklado del 1 al 9, kambiar la opcion selekcionada del menu. i si se pulsa el 0 eskoger la opcino de borrar ("x"). +//* hacer un setitimeout o algo para k salga i se vea el kargando.. en firefox i en explorer!!!! +//* mensaje de kargando... al empezar el juego i al dibujar mapa (poniendolo en dibujar mapa ya es suficiente kiza). + +* (plantear) optimizar la opcion de intentar solucionar, kalkulando antes las posibilidades de kada kasilla i barajandolas (en lugar de barajar todos los numeros del 1 al 9). +* hacer ke genere sudokus con solo una solucion... si no es posible, hacer ke solucione los numeros iniciales varias veces y luego komprobar si todas las soluciones son iguales (por estadistika, seria mas probable ke solo huviera una solucion si no enkontrara mas de una). +* para saber kuantas soluciones tiene un sudoku, una vez se haia solucionado (si es ke se puede), koger ese sudoku solucionado i probar todas las kombinaciones posibles kambiando numeros en una kasilla, luego en la otra... siempre ke sean numeros posiubles i no el mismo k ia habia antes. + +* opcion de imprimir sudoku, siempre kon el fondo!!! si es kon un sistema visual k ahorre tinta i no el k usa el juego normalmente mejor!!! i kon una opcion para imprimir numeros iniciales solo o esos i tambien los k hemos puesto. \ No newline at end of file diff --git a/yasminoku_025a_unofficial_translations.zip b/yasminoku_025a_unofficial_translations.zip new file mode 100644 index 0000000..6b07bf2 Binary files /dev/null and b/yasminoku_025a_unofficial_translations.zip differ diff --git "a/yasminoku_025a_unofficial_translations/chinese/Yasminoku \302\251 (by Joan Alba Maldonado) - eric's kOssKy.htm" "b/yasminoku_025a_unofficial_translations/chinese/Yasminoku \302\251 (by Joan Alba Maldonado) - eric's kOssKy.htm" new file mode 100644 index 0000000..1bd1276 --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/chinese/Yasminoku \302\251 (by Joan Alba Maldonado) - eric's kOssKy.htm" @@ -0,0 +1,805 @@ + + +Yasminoku © (by Joan Alba Maldonado) - eric's kOssKy + + + + + +
²é¿´½â´ð
+
³¢ÊÔ½â´ð
+
×°ÔØÖÐ... +
+
×°ÔØÖÐ... +
+
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+
+
+
+
+
+
+
© +Yasminoku 0.25a by Joan Alba Maldonado (mailto:granvino@granvino.com;) + (DHTML 100%)
Localized by Eric (eric4ever<-at->gmail{dot}com) +
  - Prohibited to publish, reproduce or modify without maintain +author's name.
  Dedicated to Yasmina Llaveria del Castillo +



+
+ + + +

diff --git "a/yasminoku_025a_unofficial_translations/chinese/Yasminoku \302\251 (by Joan Alba Maldonado) - eric's kOssKy_archivos/728x90-advert_03a.gif" "b/yasminoku_025a_unofficial_translations/chinese/Yasminoku \302\251 (by Joan Alba Maldonado) - eric's kOssKy_archivos/728x90-advert_03a.gif" new file mode 100644 index 0000000..4a12b39 Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/chinese/Yasminoku \302\251 (by Joan Alba Maldonado) - eric's kOssKy_archivos/728x90-advert_03a.gif" differ diff --git "a/yasminoku_025a_unofficial_translations/chinese/Yasminoku \302\251 (by Joan Alba Maldonado) - eric's kOssKy_archivos/adx.js" "b/yasminoku_025a_unofficial_translations/chinese/Yasminoku \302\251 (by Joan Alba Maldonado) - eric's kOssKy_archivos/adx.js" new file mode 100644 index 0000000..4c91f1c --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/chinese/Yasminoku \302\251 (by Joan Alba Maldonado) - eric's kOssKy_archivos/adx.js" @@ -0,0 +1,4 @@ +function phpads_deliverActiveX(content) +{ + document.write(content); +} \ No newline at end of file diff --git "a/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert.htm" "b/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert.htm" new file mode 100644 index 0000000..06d8bf6 --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert.htm" @@ -0,0 +1,871 @@ + + +Hrát sudoku - Sudoku expert + + + + + + + +
+
+

Jugar al sudoku

+

Jugar al sudoku

+ +
+
+
+
Búsqueda
+ + + +
+

+ + + +

+
+

Hrát sudoku

+
zobraz +řešení
+
try +to solve
+
Loading... +
+
Loading... +
+
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+
+
+
+
+
+
+
© +Yasminoku 0.25a by Joan Alba Maldonado (mailto:granvino@granvino.com;) + (DHTML 100%) +
+

Nahoru | +Tisk

+
+
+
New! + + + +
diff --git "a/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert_archivos/dudoku.css" "b/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert_archivos/dudoku.css" new file mode 100644 index 0000000..cc23e5c --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert_archivos/dudoku.css" @@ -0,0 +1,168 @@ + { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px +} +HTML { + BACKGROUND: url(/image/bg-body.gif) +} +BODY { + FONT-SIZE: small; BACKGROUND: url(/image/bg-hlavicka.gif) repeat-x 0px 0px; LINE-HEIGHT: 140%; FONT-FAMILY: "Trebuchet MS", "Geneva CE", lucida, sans-serif +} +FIELDSET { + BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px +} +.zemContactForm LEGEND { + DISPLAY: none +} +.zemContactForm { + MARGIN: 15px 0px +} +#kontejner { + MARGIN: 0px auto; WIDTH: 95%; POSITION: relative +} +#hlavicka { + HEIGHT: 107px +} +#hlavicka H1 { + DISPLAY: inline; FLOAT: left; WIDTH: 275px; POSITION: relative; HEIGHT: 107px +} +#hlavicka H1 SPAN { + DISPLAY: block; Z-INDEX: 1; BACKGROUND: url(/image/logo.gif); LEFT: 0px; WIDTH: 275px; CURSOR: hand; POSITION: absolute; TOP: 0px; HEIGHT: 107px +} +#hlavicka H2 { + FLOAT: left; MARGIN: 65px 0px 0px 75px; WIDTH: 289px; POSITION: relative; HEIGHT: 35px +} +#hlavicka H2 SPAN { + DISPLAY: block; Z-INDEX: 1; BACKGROUND: url(/image/bud-expert.gif) no-repeat 0px 0px; LEFT: 0px; WIDTH: 289px; POSITION: absolute; TOP: 0px; HEIGHT: 35px +} +UL#menu { + MARGIN-LEFT: 15px; PADDING-TOP: 10px +} +#menu LI { + BACKGROUND: url(/image/bg-menu.png) repeat-x 0px 0px; FLOAT: left; LINE-HEIGHT: 33px; LIST-STYLE-TYPE: none +} +#menu LI.active { + BACKGROUND: url(/image/bg-menu_active.png) repeat-x 0px 0px +} +#menu LI.active A { + COLOR: #003b5f +} +#menu LI SPAN.prvni { + DISPLAY: block; PADDING-LEFT: 10px; BACKGROUND: url(/image/menu-lr.png) no-repeat 0px 0px +} +#menu LI SPAN.posledni { + PADDING-RIGHT: 10px; DISPLAY: block; BACKGROUND: url(/image/menu-pr.png) no-repeat 100% 0px +} +#menu LI A { + BORDER-RIGHT: #055181 1px solid; PADDING-RIGHT: 7px; DISPLAY: block; PADDING-LEFT: 7px; FONT-WEIGHT: 600; FONT-SIZE: 85%; FLOAT: left; PADDING-BOTTOM: 0px; COLOR: #e1f2fa; PADDING-TOP: 0px; HEIGHT: 33px; TEXT-DECORATION: none +} +#menu LI.prvni A { + PADDING-LEFT: 0px +} +#menu LI.posledni A { + BORDER-RIGHT: 0px; PADDING-RIGHT: 0px +} +#menu LI A:hover { + BACKGROUND: url(/image/bg-menu_hover.png) repeat-x 0px 0px +} +#menu LI A:unknown { + BACKGROUND: url(/image/bg-menu_hover.png) repeat-x 0px 0px +} +#menu LI A:active { + BACKGROUND: url(/image/bg-menu_hover.png) repeat-x 0px 0px +} +#obsah { + CLEAR: both; BACKGROUND: url(/image/bg-sloupec.png) #fff repeat-y right top +} +#text { + PADDING-RIGHT: 15px; PADDING-LEFT: 15px; PADDING-BOTTOM: 0px; MARGIN-RIGHT: 198px; PADDING-TOP: 0px +} +#text H2 { + MARGIN-TOP: 0.5em; FONT: 170% Georgia,Serif; COLOR: #478f00 +} +#text H3 { + MARGIN-TOP: 1em; FONT: 130% Georgia,Serif; COLOR: #478f00 +} +#text H4 { + MARGIN-TOP: 1em; FONT: 130% Georgia,Serif; COLOR: #478f00 +} +#text P { + MARGIN: 1em 0px +} +#text LI { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 15px; LINE-HEIGHT: 1.2em; PADDING-TOP: 0px +} +#text A { + COLOR: #478f00 +} +#text A:hover { + BACKGROUND: #ef6b00; COLOR: white +} +#text A:unknown { + BACKGROUND: #ef6b00; COLOR: white +} +#text A:active { + BACKGROUND: #ef6b00; COLOR: white +} +#text A IMG { + BORDER-RIGHT: #478f00 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #478f00 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #478f00 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #478f00 1px solid +} +#text A:hover IMG { + BORDER-RIGHT: #ef6b00 1px solid; BORDER-TOP: #ef6b00 1px solid; BORDER-LEFT: #ef6b00 1px solid; BORDER-BOTTOM: #ef6b00 1px solid +} +#text DIV.reklamni-banner { + MARGIN: 30px 0px 5px; TEXT-ALIGN: center +} +#text P.ikonky { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px +} +P.drobecky { + PADDING-LEFT: 15px; FONT-SIZE: x-small; BACKGROUND: url(/image/lhr.png) #a5d9f1 no-repeat 0px 0px; LINE-HEIGHT: 30px; HEIGHT: 30px +} +.drobecky A { + COLOR: #033555 +} +.drobecky A:hover { + TEXT-DECORATION: none +} +#sloupec { + PADDING-LEFT: 10px; BACKGROUND: url(/image/sloupec-hore.png) no-repeat 0px 0px; FLOAT: right; OVERFLOW: hidden; WIDTH: 188px +} +#sloupec FORM { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; WIDTH: 155px; PADDING-TOP: 5px; HEIGHT: 25px +} +#sloupec INPUT.hledat { + BACKGROUND: #eeffcf; WIDTH: 120px +} +#sloupec FIELDSET { + BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px +} +#sloupec LEGEND { + DISPLAY: none +} +#paticka { + FONT-SIZE: 85%; BACKGROUND: url(/image/bg-paticka.png) repeat-x 0px 0px; COLOR: #ffffff; HEIGHT: 31px +} +#paticka A { + COLOR: #addf53 +} +#paticka A:hover { + TEXT-DECORATION: none +} +#paticka P.patka { + PADDING-LEFT: 15px; BACKGROUND: url(/image/patka.png) no-repeat left bottom; FLOAT: left; LINE-HEIGHT: 31px +} +#paticka P.ivorius { + PADDING-RIGHT: 25px; PADDING-LEFT: 13px; BACKGROUND: url(/image/patka-vlevo.png) no-repeat right top; FLOAT: right; WIDTH: 160px; LINE-HEIGHT: 31px +} +A.pristupnost { + PADDING-RIGHT: 0.5em; PADDING-LEFT: 0.5em; LEFT: 10%; BORDER-BOTTOM-WIDTH: 0px! important; PADDING-BOTTOM: 0.2em; PADDING-TOP: 0.2em; POSITION: absolute; TOP: 0px +} +A.pristupnost:unknown { + Z-INDEX: 2; BACKGROUND: #fff +} +A.pristupnost:active { + Z-INDEX: 2; BACKGROUND: #fff +} +IMG#nalepka { + Z-INDEX: 2; RIGHT: 5%; POSITION: absolute; TOP: 11px +} diff --git "a/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert_archivos/nalepka.gif" "b/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert_archivos/nalepka.gif" new file mode 100644 index 0000000..019cbcd Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert_archivos/nalepka.gif" differ diff --git "a/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert_archivos/show_ads.js" "b/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert_archivos/show_ads.js" new file mode 100644 index 0000000..cb4c66b --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/czech/Hr\303\241t sudoku - Sudoku expert_archivos/show_ads.js" @@ -0,0 +1,36 @@ +(function(){ +var h={google_ad_channel:"channel",google_ad_host:"host",google_ad_region:"region",google_ad_section:"region",google_ad_type:"ad_type",google_adtest:"adtest",google_alternate_ad_url:"alternate_ad_url",google_alternate_color:"alt_color",google_bid:"bid",google_city:"gcs",google_color_bg:"color_bg",google_color_border:"color_border",google_color_line:"color_line",google_color_link:"color_link",google_color_text:"color_text",google_color_url:"color_url",google_contents:"contents",google_country:"gl", +google_cust_age:"cust_age",google_cust_ch:"cust_ch",google_cust_gender:"cust_gender",google_cust_id:"cust_id",google_cust_interests:"cust_interests",google_cust_job:"cust_job",google_cust_l:"cust_l",google_cust_lh:"cust_lh",google_cust_u_url:"cust_u_url",google_disable_video_autoplay:"disable_video_autoplay",google_ed:"ed",google_encoding:"oe",google_feedback:"feedback_link",google_flash_version:"flash",google_gl:"gl",google_hints:"hints",google_kw:"kw",google_kw_type:"kw_type",google_language:"hl", +google_referrer_url:"ref",google_region:"gr",google_reuse_colors:"reuse_colors",google_safe:"adsafe",google_targeting:"targeting",google_ui_features:"ui"},m={google_ad_format:"format",google_ad_output:"output",google_ad_callback:"callback",google_ad_override:"google_ad_override",google_ad_slot:"slotname",google_analytics_webpropids:"ga_wpids",google_correlator:"correlator",google_cpa_choice:"cpa_choice",google_image_size:"image_size",google_last_modified_time:"lmt",google_max_num_ads:"num_ads",google_max_radlink_len:"max_radlink_len", +google_num_radlinks:"num_radlinks",google_num_radlinks_per_unit:"num_radlinks_per_unit",google_only_ads_with_video:"only_ads_with_video",google_page_location:"loc",google_page_url:"url",google_rl_dest_url:"rl_dest_url",google_rl_filtering:"rl_filtering",google_rl_mode:"rl_mode",google_rt:"rt",google_skip:"skip"};function n(b){return h[b]||m[b]||null}var u=document;function w(){var b=u.cookie,a=Math.round((new Date).getTime()/1000),d=b.indexOf("__utma=")>-1,e=b.indexOf("__utmb=")>-1,c=b.indexOf("__utmc=")> +-1,f,g={};if(d){f=b.split("__utma=")[1].split(";")[0].split(".");g.sid=(!e||!c?a:f[4])+"";g.vid=f[1]+"."+f[2];g.from_cookie=true}else{g.sid=window&&window.gaGlobal&&window.gaGlobal.sid?window.gaGlobal.sid:a+"";g.vid=window&&window.gaGlobal&&window.gaGlobal.vid?window.gaGlobal.vid:Math.round(Math.random()*2147483647)+"."+a;g.from_cookie=false}g.hid=window&&window.gaGlobal&&window.gaGlobal.hid?window.gaGlobal.hid:Math.round(Math.random()*2147483647);window.gaGlobal=g;return g}(function(){function b(){} +b.prototype.l=function(e){var c=e.indexOf("#")+1;return c?e.substr(c):""};b.prototype.n=function(e){return/[&<>\"]/.test(e)?e.replace(/&/g,"&").replace(//g,">").replace(/\"/g,"""):e};b.prototype.b=function(e){var c=""};b.prototype.m=function(e,c){try{return e.frames[c]}catch(f){return null}};b.prototype.e=function(e){var c=document.createElement("iframe");for(var f in e){c.setAttribute(f, +e[f])}return c};b.prototype.i=function(e,c){var f=this;setTimeout(function(){document.body.appendChild(f.e({id:e,name:e,src:c,width:0,height:0,frameBorder:0}))},0)};b.prototype.r=function(e,c){var f=this;document.write(f.b({id:e,name:e,src:c,width:0,height:0,frameBorder:0}))};b.prototype.g=function(e,c){var f=[],g=e.length,k=0;while(k0){g.f[c]=i[o];for(var q=0;qIDICommon.MAX_URL_LENGTH){y+="$";var H=l.d(c),S=IDICommon.MAX_URL_LENGTH-1-H.length,I=IDICommon.g(y,S),J=I.length;for(var s=0;s')}if(R(b.google_ad_output,b.google_ad_client)){IDIHost.q("http://pagead2.googlesyndication.com/pagead/idi_relay.html");var c=0;if(b.google_num_0ad_slots){c+= +b.google_num_0ad_slots}if(b.google_num_ad_slots){c+=b.google_num_ad_slots}if(b.google_num_sdo_slots){c+=b.google_num_sdo_slots}var f="google_inline_div"+c,g="
';a.write(g);var k="google_frame"+c,j=b.setTimeout(function(){IDIHost.h(k)},5000);IDIHost.j(d,k,b.google_ad_width,b.google_ad_height,{callback:function(l, +i){P(l,i,j)},pollingInterval:500,iframeAttrs:{style:"position: absolute;left:0px",marginWidth:"0",marginHeight:"0",vspace:"0",hspace:"0",allowTransparency:"true"},parentDivId:f})}else{a.write('")}if(e!=null){a.write("
")}}}else if(b.google_ad_output== +"textlink"){a.write(' + + + +
ukaž +øešení
+
pokus +se vyøešit
+
Naèítám... +
+
Naèítám... +
+
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+
+
+
+
+
+
+
© +Yasminoku 0.25a by Joan Alba Maldonado (mailto:granvino@granvino.com;) + (DHTML 100%)
diff --git "a/yasminoku_025a_unofficial_translations/czech/Yasminoku \302\251 (by Joan Alba Maldonado)_.htm" "b/yasminoku_025a_unofficial_translations/czech/Yasminoku \302\251 (by Joan Alba Maldonado)_.htm" new file mode 100644 index 0000000..d51a174 --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/czech/Yasminoku \302\251 (by Joan Alba Maldonado)_.htm" @@ -0,0 +1,736 @@ + + + + Yasminoku © (by Joan Alba Maldonado) + + + + + +
ukaž řešení
+ + +
pokus se vyřešit
+ + +
 
7
 
8
3
 
4
 
 
6
3
 
 
 
 
5
 
1
 
9
 
 
 
 
7
 
 
 
5
6
 
 
 
 
7
 
2
 
 
 
 
 
 
1
3
 
1
 
2
 
7
 
 
 
 
 
1
 
7
3
 
 
 
9
 
 
5
 
 
 
 
 
7
 
3
 
 
 
1
6
 
+ + + + + +
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+ +
+
+ +
+
+ +
+ + +
+
+ + +
+
+ + +
+ © Yasminoku 0.25a by Joan Alba Maldonado (granvino@granvino.com)  (DHTML 100%) + + + +
\ No newline at end of file diff --git a/yasminoku_025a_unofficial_translations/french/french.htm b/yasminoku_025a_unofficial_translations/french/french.htm new file mode 100644 index 0000000..39eb948 --- /dev/null +++ b/yasminoku_025a_unofficial_translations/french/french.htm @@ -0,0 +1,742 @@ + + + + Yasminoku © (by Joan Alba Maldonado) + + + + + +
Voir la solution
+ + +
Essayer de résoudre
+ + +
+ Chargement... +
+ + +
+ Chargement... +
+ + +
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+ +
+
+ +
+
+ +
+ + +
+
+ + +
+
+ + +
+ © Yasminoku 0.25a by Joan Alba Maldonado (granvino@granvino.com)  (DHTML 100%) +
  - Prohibited to publish, reproduce or modify without maintain author's name. +
+   Dedicated to Yasmina Llaveria del Castillo + + + diff --git "a/yasminoku_025a_unofficial_translations/german/Yasminoku \302\251 (by Joan Alba Maldonado).htm" "b/yasminoku_025a_unofficial_translations/german/Yasminoku \302\251 (by Joan Alba Maldonado).htm" new file mode 100644 index 0000000..58adbe4 --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/german/Yasminoku \302\251 (by Joan Alba Maldonado).htm" @@ -0,0 +1,775 @@ + + +Yasminoku © (by Joan Alba Maldonado) + + + + + +
Loesung +zeigen
+
Loading... +
+
Loading... +
+
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+
+
+
+
+
+
+
© +Yasminoku 0.25a by Joan Alba Maldonado (granvino@granvino.com) + (DHTML 100%)
  Dedicated to Yasmina Llaveria +del Castillo
  Modified by Games-Shop +
diff --git "a/yasminoku_025a_unofficial_translations/german/Yasminoku \302\251 (by Joan Alba Maldonado)_.htm" "b/yasminoku_025a_unofficial_translations/german/Yasminoku \302\251 (by Joan Alba Maldonado)_.htm" new file mode 100644 index 0000000..dd3142e --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/german/Yasminoku \302\251 (by Joan Alba Maldonado)_.htm" @@ -0,0 +1,781 @@ + + +Yasminoku © (by Joan Alba Maldonado) + + + + + +
Lösung +ansehen
+
lösen
+
Loading... +
+
Loading... +
+
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+
+
+
+
+
+
+
© +Yasminoku 0.25a by Joan Alba Maldonado (mailto:granvino@granvino.com;) + (DHTML 100%)
  - Prohibited to publish, reproduce +or modify without maintain author's name.
  Dedicated to +Yasmina Llaveria del Castillo +
diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.).htm" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.).htm" new file mode 100644 index 0000000..f4520d9 --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.).htm" @@ -0,0 +1,108 @@ + + +jáTÉKA - Sudoku telefonra INGYEN ::: online sudoku játék okostelefonra (iPhone-hoz, Android-hoz, stb.) + + + + + + + + + +
+
+ +
+
FÅ‘oldal
+ +
+

Sudoku játék telefonra (iPhone, Android, stb.), letöltés nélkül játszható - Játék most!

+

<<< Vissza a többi játékhoz <<<

+
+ + + +
+

Sudoku

+ Internetes Sudoku játék - ingyen +

A népszerű sudoku játék - telefonra optimalizált - iPhone, Android okostelefonon is letöltés nélkül játszható.

+

Irányítás:
Kattints egy számra az alsó sorban, majd egy mezőbe, ahova beírod.
A nehézség a kitöltött mezők számával állítható. A generált sudokunak több megoldása is lehet!

+

Játékidő: 2-30 perc
+ Kategória: telefonos játék

+

Kedvencek közéTedd ezt a játékot a kedvenceid közé,
hogy később is megtaláld!

+
+
+ +
Megoldás
+ + +
Megoldás megpróbálása
+ + +
 
 
 
3
 
 
 
5
2
9
 
 
 
4
1
 
 
6
 
 
 
 
 
2
 
 
9
5
 
2
4
 
 
 
6
 
 
 
6
2
9
8
 
3
 
3
4
 
 
 
 
 
8
 
4
9
7
 
 
 
6
 
 
2
 
5
9
3
 
 
 
8
 
3
1
 
2
 
5
9
4
+ + + + + +
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+ +
+
+ +
+
+ +
+ + +
+
+ + +
+
+ + +
+ © Yasminoku 0.25a by Joan Alba Maldonado (granvino@granvino.com) +
+
+
+
+
+ + + +
+

Sudoku - online sudoku játék okostelefonra is (iPhone-hoz, Android-hoz, stb.) - letöltés nélkül is!

+

Ez a sudoku játék regisztráció és letöltés nélkül is INGYEN játszható, telefonon is fut!
+ További ingyen játékok: sudoku, sakk, kártya, amÅ‘ba, torpedó, tetrisz, aknakeresÅ‘, lányos öltöztetÅ‘s játék, online kirakós puzzle játék.     -     © Minden jog fenntartva!

+
+ +
+
+ + \ No newline at end of file diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/1.gif" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/1.gif" new file mode 100644 index 0000000..35d42e8 Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/1.gif" differ diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/aknakereso.jpg" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/aknakereso.jpg" new file mode 100644 index 0000000..bc84c86 Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/aknakereso.jpg" differ diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/amoba.jpg" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/amoba.jpg" new file mode 100644 index 0000000..a76a47c Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/amoba.jpg" differ diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/css.css" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/css.css" new file mode 100644 index 0000000..29fe55f --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/css.css" @@ -0,0 +1,189 @@ +body { + height:100%; + margin: 0; + padding: 0; + border: none; + background-image: url(hat.jpg); + background-repeat: repeat-x; + background-position: center top; + background-color: #999; + + font-family: Arial; + font-size: 14px; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + color: #333; + text-decoration: none; +} + +#cont { + margin-left: auto; + margin-right: auto; + width: 780px; +} +#contleft { + float:left; + width: 780px; +} +#contright { + float:left; + width: 160px; +} + +#fej { + width: 773px; + height: 120px; + background-image: url(fej.jpg); + background-repeat: no-repeat; + background-position: center bottom; + text-align: right; + padding-right: 7px; + margin-top:10px; +} + +#tartalom { + width: 780px; + background-color:#000; + padding: 10px 0; +} + +#lab { + clear:both; + width: 550px; + height: 72px; + background-image: url(lab.jpg); + text-align: left; + vertical-align: middle; + padding: 8px 225px 0 5px; +} +#lab p { margin: 3px 0 0 0; font-size: 12px; } + + +#fej p { margin: 5px 0 0 0; font-weight: bold; } +#fej a { color: #fff; } + +#fmenu { padding:13px 0 10px 0; float:right; } +#fmenu ul { padding:0; margin:0; list-style-type:none; } +#fmenu li { float:left; width:50px; height: 53px; margin:0 2px; position:relative; } +#fmenu a { outline: none; width:50px; height: 53px; display:block; } +#fmenu img { border:none; } + +#fmenu ul li .hover { width:50px; height:53px; border:none; } + +#fmenu ul li div { position:absolute; top:52px; right:-8px; width:154px; z-index:100; background-color:#000; background-repeat: no-repeat; background-position: center bottom; visibility:hidden; + border: 1px solid #aaa; border-radius:15px; -moz-border-radius:15px; -webkit-border-radius:15px; -opera-border-radius:15px; -khtml-border-radius:15px; padding:8px 0 0 0; + color:#fff; text-align:center; font-size: 20px; } +#fmenu ul li:hover div { visibility:visible; } + + + +.br { clear:both; } + + +#fooldal { + width: 720px; + position: relative; + padding: 20px; +} +.jatek { + position: relative; + width: 150px; + text-align: center; + float:left; + margin: 15px; + padding-bottom: 75px; + background-repeat: no-repeat; + background-position: center bottom; + color: #fff; +} +.jatek img { border:none; } +.jatek .tipp { position:absolute; top:145px; right:0; width:150px; background-color:#000; padding:8px 0; visibility:hidden; + border: 1px solid #aaa; border-radius:15px; -moz-border-radius:15px; -webkit-border-radius:15px; -opera-border-radius:15px; -khtml-border-radius:15px; + color:#fff; text-align:center; } +.jatek:hover .tipp { visibility:visible; } +.jatek a { color: #fff; font-size: 20px; outline: none; display:block; } +.jatek a:hover { color: #fff; } + +.ingyenflashjatek { display:block; width:540px; height:85px; margin:20px 40px 10px 40px; padding:15px 20px 0 120px; color:#80007e; font-size:16px; background-image: url(ingyenflashjatekok.png); } +.ingyenflashjatek b { display:block; color:#80007e; font-size:20px; font-weight:bold; } +.ingyenflashjatek:hover, .ingyenflashjatek:hover b { color:#40003f !important; } + +.sakk { background-image: url(jatek/sakk_ingyen.jpg); } +.sudoku { background-image: url(jatek/sudoku_ingyen.jpg); } +.amoba { background-image: url(jatek/amoba_ingyen.jpg); } +.torpedo { background-image: url(jatek/torpedo_ingyen.jpg); } +.puzzle { background-image: url(jatek/puzzle_ingyen.jpg); } +.aknakereso { background-image: url(jatek/aknakereso_ingyen.jpg); } +.kartya { background-image: url(jatek/kartya_ingyen.jpg); } +.tetrisz { background-image: url(jatek/tetris_ingyen.jpg); } +.oltoztetos { background-image: url(jatek/oltoztetos_ingyen.jpg); } + +#ujdonsag { position:relative; float:left; width: 330px; margin: 15px; text-align:right; color: #fff; font-size: 20px; } + +#aknakereso { position: relative; width:440px; height:500px; margin-left:175px; background-color:#202020; } +#amoba { position: relative; width:440px; height:440px; margin-left:168px; background-color:#202020; } +#sakk { position: relative; width:460px; height:520px; background-color:#202020; overflow:hidden; } +#tetris { position: relative; width:440px; height:500px; margin-left:175px; background-color:#202020; overflow:hidden; } +#puzzle { position: relative; width:460px; height:500px; margin-left:155px; background-color:#202020; } + +#sudokuvalaszto { position: relative; width:550px; height:400px; margin-left:200px; overflow:hidden; color:#ddd; } +#sudoku { position: relative; width:460px; height:570px; background-color:#202020; overflow:hidden; } +#sudoku2 { position: relative; width:460px; height:510px; overflow:hidden; } + +#torpedo { position: relative; height:580px; } +#torpedo #jatekmezo { position: absolute; left:-90px; top:0; width:930px; height:580px; background-color:#9999aa; overflow:visible; + border: 10px solid #000; border-radius:15px; -moz-border-radius:15px; -webkit-border-radius:15px; -opera-border-radius:15px; -khtml-border-radius:15px; } + +#kartyak { position: relative; width:610px; height:450px; overflow:hidden; } +#kartya { position: relative; margin-left:-10px; width:620px; height:450px; } + + +#adbal { width:150px; padding:0 3px 0 5px; float:left; color: #aaa; overflow:hidden; } + +#adfent { width:336px; height:280px; padding:10px 0 0 0; margin:0 auto; } +#adfentnagy { width:728px; height:90px; padding:10px 0 0 0; margin:0 auto; } +#adjobb { width:160px; height:600px; float:right; background-color:#202020; } + + +#jatekfej { width: 760px; height:190px; } +#jatekfej div { float: left; width:220px; padding: 0 5px; color: #aaa; } + + +h1 { + font-size: 14px; + display: inline; + color: #555; +} +h2 { + font-size: 20px; + color: #fff; + text-align:center; + margin: 0; + padding: 0; +} +h3 { + font-size: 12px; + display: inline; + color: #555; +} + +a { + font-size: 12px; + color: #222; + text-decoration: none; +} +a:hover { + color: #fff; +} + +.szurke { font-size: 12px; color: #666; } + +.fooldalra { float:left; } +.fooldalra img { border:none; width:150px; height:55px; } +.fooldalra a { outline: none; } + +.kedvenc { font-size: 12px; color: #fff; text-align:left; display:block; margin-top:50px; outline: none; } +.kedvenc img { border:none; padding-right:10px; float:left; } +.szurke .kedvenc { margin-top:25px; } diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/jatek.js" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/jatek.js" new file mode 100644 index 0000000..ddc2506 --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/jatek.js" @@ -0,0 +1,675 @@ + //(c) Yasminoku - Programa realizado por Joan Alba Maldonado (granvino@granvino.com). Prohibido publicar, reproducir o modificar sin citar expresamente al autor original. + + + //Matrices: + var celdas = new Array(); + var celdas_posibles = new Array(); + var sudoku_solucion = new Array(); + var sudoku_inicial = new Array(); + var numeros_solucionados = 0; + + //Variable que contiene la opcion del menu que esta activada: + var opcion_activada = 0; + //Variable que guarada los numeros iniciales que se muestran al comenzar el sudoku (minimo deberian ser 17, aunque hay quien asegura que algunos basta con 16): + var numeros_iniciales = 36; + + //Variable que alternara mostrar/ocultar solucion: + var ver_solucion = false; + + + //Funcion que inicia el juego por primera vez: + function iniciar_juego_primera_vez() + { + //Se pone en el formulario los numeros iniciales: + document.getElementById("formulario_numeros_iniciales").numeros_iniciales.value = numeros_iniciales; + + //Se muestra el mensaje de cargando: + mostrar_mensaje("Betöltés...", true); + + //Despues de un tiempo (para que de tiempo a salir el mensaje de Cargando de mas arriba), se continua el segundo paso: + setTimeout("iniciar_juego_primera_vez_2();", 100); + } + + + //Funcion que inicia el juego por primera vez (segundo paso): + function iniciar_juego_primera_vez_2() + { + //Si dibuja el sudoku base: + dibujar_sudoku(); + + //Se inicia el juego: + iniciar_juego(); + + //Se alerta con informacion interesante sobre el juego: + alert('Új játék kezdéséhez adja meg a kitöltött mezÅ‘k számát és kattintson az \'Új játék\' gombra\nFigyelem, több megoldás is lehet!\n\nA program meglévÅ‘ sudoku rejtvények megoldásához is használható, Ãrjon be 0-t a kitöltött mezÅ‘khöz, töltse ki a rejtvényt, majd kattintson a \'Megoldás megpróbálása\' gombra.\n\nJó szórakozást!'); + + //Se deja de mostrar el mensaje de Cargando... (por si acaso no lo huviera hecho ya): + mostrar_mensaje("", false); + } + + + //Funcion que pinta provisionalmente, definitivamente o borra el numero seleccionado en el sudoku: + function pintar_celda(celda, metodo, provisional) + { + //Se guarda el contenido de la celda en una variable numerica: + var contenido_celda = parseInt(document.getElementById(celda).innerHTML); + var color_celda = document.getElementById(celda).style.color; + //Si se retira el cursor del raton y no esta activada, se desactiva: + if (metodo == "desactivar" && isNaN(contenido_celda) || metodo == "desactivar" && color_celda != "rgb(170, 0, 0)" && color_celda != "rgb(170,0,0)" && color_celda != "#aa0000" && color_celda != "#AA0000" && color_celda != "#dd7080" && color_celda != "#DD7080" && color_celda != "rgb(221, 112, 128)" && color_celda != "rgb(221,112,128)") + { + //Se deja de pintar el numero seleccionado en la celda si se pulsa una tecla: + document.onkeydown = function() { } + //Si en la celda no habia nada escrito antes (de forma fija), se borra su contenido: + if (celdas[celda] == 0) { document.getElementById(celda).innerHTML = " "; } + else { document.getElementById(celda).innerHTML = celdas[celda]; } + } + //Si se posiciona encima el cursor y no esta activada, y no es una celda fija (ya desde el principio) y hay una opcion activada, se activa provisionalmente: + else if (metodo == "activar" && provisional && color_celda != "rgb(170, 0, 0)" && color_celda != "rgb(170,0,0)" && color_celda != "#aa0000" && color_celda != "#AA0000" && color_celda != "#dd7080" && color_celda != "#DD7080" && color_celda != "rgb(221, 112, 128)" && color_celda != "rgb(221,112,128)") + { + //Si se pulsa una tecla, se cambia a la opcion activada: + document.onkeydown = function(event) { if (window.Event) { tecla_pulsada(event, 'onkeypress'); } if (opcion_activada == 10) { document.getElementById(celda).innerHTML = " "; } else if (opcion_activada != 0) { document.getElementById(celda).innerHTML = opcion_activada; } } + //Si no hay ninguna opcion activada, sale de la funcion: + if (opcion_activada == 0) { return; } + //Si la opcion es la 10 (borrar numero), se borra el contenido de la celda provisionalmente: + if (opcion_activada == 10) { document.getElementById(celda).innerHTML = " "; } + //...y si no, se pone el numero: + else { document.getElementById(celda).innerHTML = opcion_activada; } + } + //Si se hace click y no es una celda fija (ya pintada desde el principio) y hay una opcion activada, se activa definitivamente: + else if (metodo == "activar" && !provisional && color_celda != "rgb(170, 0, 0)" && color_celda != "rgb(170,0,0)" && color_celda != "#aa0000" && color_celda != "#AA0000" && color_celda != "#dd7080" && color_celda != "#DD7080" && color_celda != "rgb(221, 112, 128)" && color_celda != "rgb(221,112,128)" && opcion_activada != 0) + { + //Si la opcion es la 10 (borrar numero), se borra el contenido de la celda de forma fija: + if (opcion_activada == 10) { document.getElementById(celda).innerHTML = " "; celdas[celda] = 0; } + //...y si no, se pone el numero de forma fija: + else { document.getElementById(celda).innerHTML = opcion_activada; celdas[celda] = opcion_activada; } + } + } + + + //Funcion que muestra un mensaje: + function mostrar_mensaje(mensaje, mostrar) + { + //Se pone el mensaje enviado: + document.getElementById("mensaje").innerHTML = mensaje; + //Si se ha elegido mostrar, se muestra: + if (mostrar) { document.getElementById("mensaje").style.visibility = "visible"; } + //...y si no, se oculta: + else { document.getElementById("mensaje").style.visibility = "hidden"; } + } + + + //Funcion que selecciona o deselecciona una opcion, tanto definitiva como provisionalmente: + function seleccionar(opcion, metodo, provisional) + { + //Si se retira el cursor del raton de la opcion y no esta activada, se desactiva: + if (metodo == "desactivar" && opcion_activada != opcion) { document.getElementById("opcion_"+opcion).style.border = "2px #bbbbbb dotted"; document.getElementById("opcion_"+opcion).style.color = "#696969"; } + + //Si se posiciona encima el cursor de la opcion y no esta activada, se activa provisionalmente: + else if (metodo == "activar" && provisional && opcion_activada != opcion) { document.getElementById("opcion_"+opcion).style.border = "2px #ffbbbb dotted"; document.getElementById("opcion_"+opcion).style.color = "#000000"; } + + //Si se hace click encima de la opcion, se activa definitivamente y se desactivan las demas: + else if (metodo == "activar" && !provisional) + { + //Se activa la opcion definitivamente: + opcion_activada = opcion; + document.getElementById("opcion_"+opcion).style.border = "2px #000000 solid"; + document.getElementById("opcion_"+opcion).style.color = "#aa0000"; + //Se desactivan las demas: + for (x=1; x<=10; x++) + { + //Si no es la opcion elegida, se desactiva: + if (opcion != x) { document.getElementById("opcion_"+x).style.border = "2px #bbbbbb dotted"; document.getElementById("opcion_"+x).style.color = "#696969"; } + } + } + } + + + //Funcion que inicia el juego: + function iniciar_juego() + { + //Se setean los numeros iniciales: + numeros_iniciales = parseInt(document.getElementById("formulario_numeros_iniciales").numeros_iniciales.value); + //Se crea el sudoku: + crear_sudoku(); + } + + + //Funcion que reinicia el juego: + function reiniciar_juego() + { + numeros_iniciales_provisional = parseInt(document.getElementById("formulario_numeros_iniciales").numeros_iniciales.value); + //Si los numeros iniciales no es un numero o es invalido, se notifica, vuelve al numero anterior y sale de la funcion: + if (numeros_iniciales_provisional < 0 || numeros_iniciales_provisional > 81 || isNaN(numeros_iniciales_provisional)) + { + alert("Kérjük 0 és 81 között adjon meg számot!"); + document.getElementById("formulario_numeros_iniciales").numeros_iniciales.value = numeros_iniciales; + return false; + } + //Si se pulsa aceptar, se reinicia el juego: + else if (confirm("Kattintson az OK-ra az érvényesítéshez és új játék kezdéséhez.")) + { + //Vuelve a mostrar la opcion predeterminada en el div de ver solucion: + document.getElementById("div_solucion").innerHTML = "Megoldás"; + document.getElementById('div_solucion').title = 'Megmutatja a megoldást'; + ver_solucion = false; + + //Inicia el juego otra vez: + iniciar_juego(); + } + //...y si no, se vuelve a poner el numero anterior: + else { document.getElementById("formulario_numeros_iniciales").numeros_iniciales.value = numeros_iniciales; } + } + + + //Funcion que crea el sudoku: + function crear_sudoku() + { + //Se muestra el mensaje de cargando: + mostrar_mensaje("Betöltés...", true); + + //Se vacia el sudoku de numeros: + vaciar_sudoku(); + + //Se intenta solucionar un sudoku aleatorio: + var sudoku_solucionado = solucionar_sudoku(1); + //Si no se ha podido solucionar, se vuelve a llamar a la funcion: + if (!sudoku_solucionado) { crear_sudoku(); return; } + //...pero si se ha solucionado, se guarda el sudoku solucionado en sudoku_solucion, se pone en la matriz celdas los numeros iniciales y luego se continua: + else { sudoku_solucion = new Array(); for (j=1; j<=81; j++) { sudoku_solucion[j] = celdas[j]; celdas[j] = 0; } } + + //Variables que contendran el numero de region, casilla y numero aleatorios: + var casillas_libres = new Array(); + var casilla_aleatoria_posicion = 0; + var casilla_aleatoria = 0; + //Se ponen los numeros en el sudoku: + for (x=1; x<=numeros_iniciales; x++) + { + //Se calcula una casilla aleatoria que sea valida (del 0 al sizeof(casillas_libres)-1): + casillas_libres = calcular_casillas_libres(); + casilla_aleatoria_posicion = parseInt(Math.random() * casillas_libres.length); + casilla_aleatoria = casillas_libres[casilla_aleatoria_posicion]; + + //Si la casilla esta vacia, se calcula si el sudoku es valido y si es asi se introduce: + if (celdas[casilla_aleatoria] == 0 && sudoku_solucion[casilla_aleatoria] != 0) + { + //Se introduce en la casilla el numero: + celdas[casilla_aleatoria] = sudoku_solucion[casilla_aleatoria]; + + //Se comprueba si el sudoku es valido: +// sudoku_valido = validar_sudoku(true); + + //Si el sudoku no es valido, se borra la casilla introducida y se vuelve a hacer el bucle sin contar este loop: +// if (!sudoku_valido) { celdas[casilla_aleatoria] = 0; x--; continue; } + } + //...y si no, se vuelve a hacer el bucle sin contar este loop: + else { x--; continue; } + } + + //Se valida el sudoku: + var sudoku_valido = validar_sudoku(true); + //Si el sudoku no es valido, vuelve a llamar a la funcion: + if (!sudoku_valido) { crear_sudoku(); } + //...pero si es valido, se crea el mapa (se representa el sudoku): + else + { + for (x=1; x<=81; x++) + { + //Si la celda no esta vacia, se representa: + if (celdas[x] != 0 && !isNaN(celdas[x])) { document.getElementById(x).innerHTML = celdas[x]; document.getElementById(x).style.color = "#aa0000"; } + //Se guarda en la matriz que contiene el sudoku inicial: + sudoku_inicial[x] = celdas[x]; + } + //Se deja de mostrar el mensaje de cargando: + mostrar_mensaje("", false); + } + } + + + //Funcion que vacia el sudoku: + function vaciar_sudoku() + { + //Se borran las matrices: + celdas = new Array(); + celdas_posibles = new Array(); + sudoku_solucion = new Array(); + sudoku_inicial = new Array(); + numeros_solucionados = 0; + for (x=1; x<=81; x++) + { + celdas[x] = 0; + sudoku_solucion[x] = 0; + sudoku_inicial[x] = 0; + //Se le pone el color de fuente predeterminado: + document.getElementById(x).style.color = "#333333"; + //Se vacia la celda: + document.getElementById(x).innerHTML = " "; + } + } + + + //Funcion que dibuja el sudoku: + function dibujar_sudoku() + { + //Se muestra el mensaje de cargando: + mostrar_mensaje("Betöltés...", true); + +// document.getElementById("zona_juego").innerHTML = ""; + + var numero_columna = 0; + var numero_fila = 0; + var numero_region = 1; + var posicion_left = 0; + var posicion_top = 0; + var espaciado_vertical = 0; + var espaciado_horizontal = 0; + var color_fondo = ""; + var codigo_html = ""; + + for (x=1; x<=81; x++) + { + //Se crean las matrices: + celdas[x] = 0; + + color_fondo = (x % 2 == 0) ? "#dddddd" : "#eeeeee"; + if (numero_columna == 3 || numero_columna == 6) { espaciado_horizontal = 5; } else { espaciado_horizontal = 0; } + if (numero_fila == 3 || numero_fila == 6) { espaciado_vertical = 5; } else { espaciado_vertical = 0; } + posicion_left = (numero_columna * 50) + 2 + espaciado_horizontal; + posicion_top = (numero_fila * 50) + 2 + espaciado_vertical; + + //Se guarda el div como codigo HTML para insertarlo posteriormente: + codigo_html += '
' + x + '
'; + + numero_columna++; + if (numero_columna > 8) { numero_columna = 0; numero_fila++; } + if (numero_fila > 8) { break; } + } + + + //Se inserta el codigo HTML generado: + document.getElementById("zona_juego").innerHTML = codigo_html; + + //Se deja de mostrar el mensaje de cargando: + mostrar_mensaje("", false); + } + + + //Funcion que valida el sudoku: + function validar_sudoku(salir_al_fallar) + { + //Comprobar que no se repita ningun numero por regiones: + var num_region = 1; + for (a=1; a<=9; a++) { eval("var region_"+a+" = new Array();"); for (b=1; b<=9; b++) { eval("region_"+a+"["+b+"] = false;"); } } + for (a=1; a<=61; a+=3) + { + for (b=a; b<=a+20; b++) + { + if (b == a+3) { b = b - 3 + 9; } + else if (b == a+12) { b = b - 12 + 18; } + if (celdas[b] != 0 && !isNaN(celdas[b])) + { + if (eval("region_"+num_region+"["+celdas[b]+"]") == true && salir_al_fallar) { return false; } + else { eval("region_"+num_region+"["+celdas[b]+"] = true;"); } + } + } + if (a == 7 || a == 34) { a += 18; } + num_region++; + } + + //Comprobar que no se repita ningun numero por filas: + var num_fila = 1; + for (a=1; a<=9; a++) { eval("var fila_"+a+" = new Array();"); for (b=1; b<=9; b++) { eval("fila_"+a+"["+b+"] = false;"); } } + b = 1; + for (a=1; a<=81; a++) + { + if (b > 9) { b = 1; num_fila++; } + if (celdas[a] != 0 && !isNaN(celdas[a])) + { + if (eval("fila_"+num_fila+"["+celdas[a]+"]") == true && salir_al_fallar) { return false; } + else { eval("fila_"+num_fila+"["+celdas[a]+"] = true;"); } + } + b++; + } + + //Comprobar que no se repita ningun numero por columnas: + for (a=1; a<=9; a++) { eval("var columna_"+a+" = new Array();"); for (b=1; b<=9; b++) { eval("columna_"+a+"["+b+"] = false;"); } } + for (a=1; a<=9; a++) + { + for (b=a; b<=81; b+=9) + { + if (celdas[b] != 0 && !isNaN(celdas[b])) + { + if (eval("columna_"+a+"["+celdas[b]+"]") == true && salir_al_fallar) { return false; } + else { eval("columna_"+a+"["+celdas[b]+"] = true;"); } + } + } + } + //Si llega hasta aqui es que todo ha ido bien: + return true; + } + + + //Funcion para que el usuario valide su sudoku: + function validar_sudoku_usuario() + { + //Se calcula cuantos numeros se han completado: + var sudoku_completado = true; + for (x=1; x<=81; x++) { if (celdas[x] == 0) { sudoku_completado = false; } } + + //Si se esta viendo la solucion del sudoku, se deja de mostrar: + if (ver_solucion) { mostrar_solucion(); } + + //Si todavia no se han completado todos los numeros, se avisa de que es imposible validar: + if (!sudoku_completado) { alert("Az ellenÅ‘rzéshez fejezze be a kitöltést."); } + //...pero si se han completado todos, se valida: + else + { + var sudoku_valido = validar_sudoku(true); + if (sudoku_valido) { alert("Helyes kitöltés, gratulálunk!"); } //Si es correcto, da la enhorabuena. + else { alert("Hibás kitöltés."); } //Si no, avisa. + } + } + + + //Funcion que valida si una celda es valida o no: + function validar_celda(celda) + { + var numero_fila = Math.ceil(celda/9); + var numero_columna = celda - ((numero_fila - 1) * 9); + //var numero_region = (3 * Math.ceil(numero_fila/3)) - (3 - Math.ceil(numero_columna/3)); + var num_inicial_fila = (9 * (numero_fila - 1)) + 1; + var num_inicial_columna = numero_columna; + var num_inicial_region = ((Math.ceil(numero_fila/3) - 1) * 3 * 9) + ((Math.ceil(numero_columna/3) - 1) * 3) + 1; + + + //Calculamos que no se repita nada en la region de la celda: + var numeros_usados = new Array(); + var n = 1; + for (n=1; n<=9; n++) { numeros_usados[n] = false; } + var contador = 1; + for (n=num_inicial_region; n<=num_inicial_region+20; n++) + { + if (numeros_usados[celdas[n]] == true && celdas[n] != 0 && !isNaN(celdas[n])) { return false; } //Si esta repetido, se sale de la funcion retornando false. + else { numeros_usados[celdas[n]] = true; } //Si se esta usando, se setea como tal. + if (contador == 3) { n += 6; contador = 0; } + contador++; + } + + //Calculamos que no se repita nada en la fila de la celda: + for (n=1; n<=9; n++) { numeros_usados[n] = false; } + for (n=num_inicial_fila; n<=num_inicial_fila+8; n++) + { + if (numeros_usados[celdas[n]] == true && celdas[n] != 0 && !isNaN(celdas[n])) { return false; } //Si esta repetido, se sale de la funcion retornando false. + else { numeros_usados[celdas[n]] = true; } //Si se esta usando, se setea como tal. + } + + //Calculamos que no se repita nada en la columna de la celda: + for (n=1; n<=9; n++) { numeros_usados[n] = false; } + for (n=num_inicial_columna; n<=num_inicial_columna+72; n+=9) + { + if (numeros_usados[celdas[n]] == true && celdas[n] != 0 && !isNaN(celdas[n])) { return false; } //Si esta repetido, se sale de la funcion retornando false. + else { numeros_usados[celdas[n]] = true; } //Si se esta usando, se setea como tal. + } + + //Si ha llegado hasta aqui es que todo funciona bien, asi que retorna true: + return true; + } + + + //Funcion que calcula que casillas estan libres y las devuelve en una matriz: + function calcular_casillas_libres() + { + var casillas_libres = new Array(); + var b = 0; + for (a=1; a<=81; a++) { if (celdas[a] == 0) { casillas_libres[b] = a; b++; } } + return casillas_libres; + } + + + //Funcion que soluciona el sudoku por backtracking (vuelta atras): + function solucionar_sudoku(celda) + { + var sudoku_solucionado = false; + + //Si ya se ha solucionado el sudoku, se sale de la funcion retornando true: + if (numeros_solucionados >= 81) { return true; } + + //Si la casilla ya esta llena, se vuelve a llamar a la funcion con la posterior (siempre que no este en la ultima celda, la 81): + if (!isNaN(celdas[celda]) && celdas[celda] != 0 && celda < 81) + { + sudoku_solucionado = solucionar_sudoku(celda+1); + //Si se ha solucionado el sudoku, se retorna true: + if (sudoku_solucionado) { return true; } + //...pero si no, se retorna false: + else { return false; } + } + + //Se crea una matriz con el numero del 1 al 8, y luego se baraja: + var numeros_barajados = new Array(); + numeros_barajados = barajar(); //Se baraja. + + var es_valido = false; + var e = 0; + //Se realiza un bucle para probar numeros en la casilla: + for (e=0; e<=8; e++) + { + //Se inserta el numero barajado en la celda: + celdas[celda] = numeros_barajados[e]; + //Se comprueba si es valido: + //es_valido = validar_sudoku(true); + es_valido = validar_celda(celda); + //Si el sudoku es valido, se llama a solucionar la celda posterior: + if (es_valido) + { + //Se incrementa el valor de los numeros solucionados: + numeros_solucionados++; + //Se llama a solucionar la celda posterior: + sudoku_solucionado = solucionar_sudoku(celda+1); + //Si se ha solucionado, retorna true: + if (sudoku_solucionado) { return true; } + //...y si no, se borra la celda introducida: + else { celdas[celda] = 0; numeros_solucionados--; } + } + //...y si no, se borra la celda introducida: + else { celdas[celda] = 0; } + } + + //Si se ha llegado hasta aqui es que no se ha encontrado solucion, asi que se borra la celda introducida y retorna false: + celdas[celda] = 0; +// numeros_solucionados--; + return false; + } + + + //Funcion que baraja una matriz: + function barajar() + { + var numeros_barajados = new Array(); + for (f=0; f<=8; f++) + { + //Creamos un numero aleatorio: + numero_aleatorio = parseInt(Math.random() * 9) + 1; + //Comprobamos si el numero ya se encuentra en la matriz: + var se_encuentra = false; + for (g=0; g<=8; g++) + { + //Si ya se encuentra en la matriz, se sale del bucle: + if (numeros_barajados[g] == numero_aleatorio) { se_encuentra = true; break; } + } + //Si se ha encontrado, se repite el bucle sin contar el loop: + if (se_encuentra) { f--; continue; } + //...pero si no, se introduce en la nueva matriz barajada: + else { numeros_barajados[f] = numero_aleatorio; } + } + //Se retorna la matriz barajada: + return numeros_barajados; + } + + + //Funcion que muestra la solucuon del sudoku: + function mostrar_solucion() + { + //Se alterna para que funcione como un boton de on/off (mostrar/ocultar solucion), alternando a la opcion contraria: + ver_solucion = (ver_solucion) ? false : true; + + //Si se ha elegido mostrar la solucion, se muestra: + if (ver_solucion) + { + //Si se cancela, sale sin ver la solucion: + if (!confirm("A program megmutatja a megoldást a beírt számok figyelmen kívül hagyásával.\nHa a beírt számok figyelembevételével szeretné kipróbálni a megoldhatóságot, kattintson a 'Megoldás megpróbálása' gombra.\nFigyelem, a böngészÅ‘ lefagyhat...\nHa szeretné megnézni a megoldást, kattintson az OK-ra!.")) + { + //Se vuelve a dejar como estaba (ver solucion): + ver_solucion = false; + //Se deja de mostrar el mensaje de cargando: + mostrar_mensaje("", false); + //Sale de la funcion: + return; + } + + //Se muestra el mensaje de cargando: + mostrar_mensaje("Betöltés...", true); + + document.getElementById("div_solucion").innerHTML = "Megoldás elrejtése"; + document.getElementById('div_solucion').title = 'Sudoku megoldásának elrejtése'; + for (j=1; j<=81; j++) + { + if (sudoku_solucion[j] != 0 && !isNaN(sudoku_solucion[j])) + { + document.getElementById(j).innerHTML = sudoku_solucion[j]; + //Si el numero era fijo (numero inicial), se muestra de color rojo: + if (sudoku_solucion[j] == sudoku_inicial[j]) { document.getElementById(j).style.color = "#aa0000"; } + //Y si el numero estaba escondido y forma parte de la solucion, se muestra de otro color: + else { document.getElementById(j).style.color = "#dd7080"; } + } + } + + //Se deja de mostrar el mensaje de cargando: + mostrar_mensaje("", false); + } + //...pero si se ha elegido ocultar, se oculta: + else + { + //Se muestra el mensaje de cargando: + mostrar_mensaje("Betöltés..", true); + + document.getElementById("div_solucion").innerHTML = "Megoldás"; + document.getElementById('div_solucion').title = 'Sudoku megoldása'; + for (j=1; j<=81; j++) + { + if (celdas[j] != 0 && !isNaN(celdas[j])) + { + document.getElementById(j).innerHTML = celdas[j]; + //Si el numero era fijo (numero inicial), se muestra de color rojo: + if (celdas[j] == sudoku_inicial[j]) { document.getElementById(j).style.color = "#aa0000"; } + //...y si no, de color gris: + else { document.getElementById(j).style.color = "#222222"; } + } + else if (celdas[j] == 0) { document.getElementById(j).innerHTML = " "; document.getElementById(j).style.color = "#333333"; } + } + + //Se deja de mostrar el mensaje de cargando: + mostrar_mensaje("", false); + } + + + //Vuelve el color del "enlace" a su color predeterminado (si no se quedaria en rojo si se arrastrara con el raton, etc. en algunos navegadores y determinadas circunstancias): + document.getElementById('div_solucion').style.color = '#222222'; + } + + + //Funcion que intenta solucionar el sudoku introducido: + function intentar_solucionar() + { + //Se alerta de las consecuencias (soluciones posiblemente distintas cada vez, bloqueo del navegador por un tiempo...), y si se pulsa cancelar sale de la funcion: + if (!confirm("A program megpróbálja megoldani a sudokut a beírt számok alapján.\nHa több megoldás létezik, más-más megoldás is kijöhet.\nFigyelem, a böngészÅ‘ lefagyhat...\A megoldáshoz nyomja meg az OK-t!.")) { return; } + + //Se muestra el mensaje de solucionando: + mostrar_mensaje("Megoldás...", true); + + //Se calcula cuantos numeros ya hay introducidos, y ademas guarda el sudoku en una matriz: + var numeros_introducidos = 0; + var sudoku_backup = new Array(); + for (r=1; r<=81; r++) + { + //Si la celda no esta vacia, se cuenta como numero introducido: + if (celdas[r] != 0 && !isNaN(celdas[r])) { numeros_introducidos++; } + //Se guarda en una matriz como copia de seguridad: + sudoku_backup[r] = celdas[r]; + } + + //Los numeros solucionados son todos los ya introducidos: + numeros_solucionados = numeros_introducidos; + + //Se intenta solucionar el sudoku: + var sudoku_solucionado = solucionar_sudoku(1); + //Se valida el sudoku: + var sudoku_valido = validar_sudoku(true); + + //Si el sudoku ha podido ser solucionado y es valido, prosigue: + if (sudoku_solucionado && sudoku_valido) + { + //Se muestra la solucion encontrada: + for (r=1; r<=81; r++) + { + if (celdas[r] != 0 && !isNaN(celdas[r])) + { + document.getElementById(r).innerHTML = celdas[r]; + if (celdas[r] == sudoku_backup[r]) { document.getElementById(r).style.color = "#aa0000"; } + else { document.getElementById(r).style.color = "#dd7080"; } + } + else if (celdas[r] == 0) { document.getElementById(r).innerHTML = " "; document.getElementById(r).style.color = "#333333"; } + } + + //Se deja de mostrar el mensaje de cargando: + mostrar_mensaje("", false); + + //Se alerta para hacer una pausa y poder ver la solucion: + alert("Sudoku megoldva.\nKattintson az OK-ra a megoldás elrejtéséhez."); + + //Se muestra el mensaje de cargando: + mostrar_mensaje("Loading...", true); + + //...y despues de la pausa, se restaura el sudoku anterior gracias a la copia de seguridad: + for (r=1; r<=81; r++) + { + celdas[r] = sudoku_backup[r]; + if (celdas[r] != 0 && !isNaN(celdas[r])) + { + document.getElementById(r).innerHTML = celdas[r]; + if (celdas[r] == sudoku_inicial[r]) { document.getElementById(r).style.color = "#aa0000"; } + else { document.getElementById(r).style.color = "#333333"; } + } + else if (celdas[r] == 0) { document.getElementById(r).innerHTML = " "; document.getElementById(r).style.color = "#333333"; } + } + + //Se deja de mostrar el mensaje de cargando: + mostrar_mensaje("", false); + } + //...pero si el sudoku no ha podido ser solucionado o no es valido, se notifica: + else { mostrar_mensaje("", false); alert("Nem lehet megoldani.\nNincs megoldás, vagy helytelen kitöltés."); } + + //Vuelve el color del "enlace" a su color predeterminado (si no se quedaria en rojo si se arrastrara con el raton, etc. en algunos navegadores y determinadas circunstancias): + document.getElementById('div_solucion').style.color = '#222222'; + } + + + //Funcion que ocurre al pulsar una tecla: + function tecla_pulsada(e, evento_actual) + { + //Capturamos la tacla pulsada, segun navegador: + if (e.keyCode) { var unicode = e.keyCode; } + //else if (event.keyCode) { var unicode = event.keyCode; } + else if (window.Event && e.which) { var unicode = e.which; } + else { var unicode = 17; } //Si no existe, por defecto se utiliza el Control. + + //Codigos: "1" (97, 49, 35), "2" (50, 40, 98), "3" (51, 99, 34), "4" (37, 100, 52), "5" (53, 101, 12), "6" (39, 54, 102), "7" (55, 103, 36), "8" (38, 104, 56), "9" (105, 57, 33), "0" (45, 96, 48). + if (unicode == 97 || unicode == 49 || unicode == 35) { opcion_activada = 1; seleccionar(opcion_activada, "activar", false); } //Tecla 1. + else if (unicode == 50 || unicode == 40 || unicode == 98) { opcion_activada = 2; seleccionar(opcion_activada, "activar", false); } //Tecla 2. + else if (unicode == 51 || unicode == 99 || unicode == 34) { opcion_activada = 3; seleccionar(opcion_activada, "activar", false); } //Tecla 3. + else if (unicode == 37 || unicode == 100 || unicode == 52) { opcion_activada = 4; seleccionar(opcion_activada, "activar", false); } //Tecla 4. + else if (unicode == 53 || unicode == 101 || unicode == 12) { opcion_activada = 5; seleccionar(opcion_activada, "activar", false); } //Tecla 5. + else if (unicode == 39 || unicode == 54 || unicode == 102) { opcion_activada = 6; seleccionar(opcion_activada, "activar", false); } //Tecla 6. + else if (unicode == 55 || unicode == 103 || unicode == 36) { opcion_activada = 7; seleccionar(opcion_activada, "activar", false); } //Tecla 7. + else if (unicode == 38 || unicode == 104 || unicode == 56) { opcion_activada = 8; seleccionar(opcion_activada, "activar", false); } //Tecla 8. + else if (unicode == 105 || unicode == 57 || unicode == 33) { opcion_activada = 9; seleccionar(opcion_activada, "activar", false); } //Tecla 9. + else if (unicode == 45 || unicode == 96 || unicode == 48) { opcion_activada = 10; seleccionar(opcion_activada, "activar", false); } //Tecla 0. + } \ No newline at end of file diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/jateka.js" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/jateka.js" new file mode 100644 index 0000000..1935649 --- /dev/null +++ "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/jateka.js" @@ -0,0 +1,13 @@ +function kedvenc(title, url){ +if (window.sidebar) // firefox + window.sidebar.addPanel(title, url, ""); +else if(window.opera && window.print){ // opera + var elem = document.createElement('a'); + elem.setAttribute('href',url); + elem.setAttribute('title',title); + elem.setAttribute('rel','sidebar'); + elem.click(); +} +else if(document.all)// ie + window.external.AddFavorite(url, title); +} \ No newline at end of file diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/kartya.jpg" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/kartya.jpg" new file mode 100644 index 0000000..1ef32c3 Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/kartya.jpg" differ diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/kedvencek.jpg" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/kedvencek.jpg" new file mode 100644 index 0000000..762cdbe Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/kedvencek.jpg" differ diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/puzzle.jpg" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/puzzle.jpg" new file mode 100644 index 0000000..10e4819 Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/puzzle.jpg" differ diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/sakk.jpg" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/sakk.jpg" new file mode 100644 index 0000000..5f3c5ee Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/sakk.jpg" differ diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/sudoku.jpg" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/sudoku.jpg" new file mode 100644 index 0000000..3657dc2 Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/sudoku.jpg" differ diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/tetris.jpg" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/tetris.jpg" new file mode 100644 index 0000000..684db45 Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/tetris.jpg" differ diff --git "a/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/torpedo.jpg" "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/torpedo.jpg" new file mode 100644 index 0000000..d090393 Binary files /dev/null and "b/yasminoku_025a_unofficial_translations/hungarian/j\303\241T\303\211KA - Sudoku telefonra INGYEN online sudoku j\303\241t\303\251k okostelefonra (iPhone-hoz, Android-hoz, stb.)_files/torpedo.jpg" differ diff --git a/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku.htm b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku.htm new file mode 100644 index 0000000..a0a3498 --- /dev/null +++ b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku.htm @@ -0,0 +1,328 @@ + + +CONTESTADO.COM - Sudoku + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+ + + + +
+

Sudoku

+
    +
  • Em cada linha devem ser colocados todos os números de 1 a 9 sem + repetir; +
  • Em cada coluna devem ser colocados todos os números de 1 a 9 sem + repetir; +
  • Em cada bloco de 3x3 quadros devem ser colocados todos os números de + 1 a 9 sem repetir;
Utilize o mouse para escolher o número a ser + utilizado, e então clique no quadro do jogo onde quer colocá-lo. Para + apagar, utilize o 'x' da mesma maneira.

+ + +
ver + solução
+
+
+
Loading...
+
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
X
+
+
+
+
+
+
+
© + Yasminoku 0.25a by Joan Alba Maldonado (mailto:granvino@granvino.com;) +  (DHTML 100%)
  - Prohibited to publish, + reproduce or modify without maintain author's name. +
  Dedicated to Yasmina Llaveria del Castillo
+ +
+
diff --git a/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/brazil_flag.gif b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/brazil_flag.gif new file mode 100644 index 0000000..1485e45 Binary files /dev/null and b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/brazil_flag.gif differ diff --git a/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/contestado-site.png b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/contestado-site.png new file mode 100644 index 0000000..e46b68f Binary files /dev/null and b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/contestado-site.png differ diff --git a/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/contestado.css b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/contestado.css new file mode 100644 index 0000000..3dbb4fc --- /dev/null +++ b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/contestado.css @@ -0,0 +1,585 @@ +BODY { + FONT-SIZE: 8pt; BACKGROUND-IMAGE: url(/images/wood29-2.jpg); MARGIN: 0px 17px; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff +} +H1 { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0.5em; PADDING-TOP: 0px +} +H2 { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0.5em; PADDING-TOP: 0px +} +H3 { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0.5em; PADDING-TOP: 0px +} +H4 { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0.5em; PADDING-TOP: 0px +} +H5 { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0.5em; PADDING-TOP: 0px +} +H6 { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0.5em; PADDING-TOP: 0px +} +H1 { + FONT-SIZE: 1.5em +} +H2 { + FONT-SIZE: 1.3em +} +H3 { + FONT-SIZE: 1.2em +} +H4 { + FONT-SIZE: 1em +} +H5 { + FONT-SIZE: 1em +} +H6 { + FONT-SIZE: 1em +} +DIV.classiftit { + FONT-WEIGHT: bold; FONT-SIZE: 1.1em +} +DIV.classiffone { + FONT-WEIGHT: bold +} +DIV.author { + FONT-WEIGHT: bold; FONT-SIZE: 1.1em; MARGIN-BOTTOM: 10pt +} +DIV.classifemail { + FONT-WEIGHT: bold +} +P { + MARGIN: 0.5em 0px; LINE-HEIGHT: 1.25em +} +A { + FONT-WEIGHT: bold; COLOR: #0000a0; TEXT-DECORATION: none +} +A:hover { + FONT-WEIGHT: bold; CURSOR: pointer; COLOR: #0000ff; TEXT-DECORATION: none +} +A IMG { + BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none +} +PRE { + FONT-SIZE: 1em; FONT-FAMILY: "Courier New", Courier, monospace +} +CODE { + FONT-SIZE: 1em; FONT-FAMILY: "Courier New", Courier, monospace +} +PRE { + BORDER-RIGHT: #e0e0e0 1px solid; PADDING-RIGHT: 0.2em; BORDER-TOP: #e0e0e0 1px solid; PADDING-LEFT: 0.2em; PADDING-BOTTOM: 0.2em; MARGIN: 1em 0px; BORDER-LEFT: #e0e0e0 1px solid; PADDING-TOP: 0.2em; BORDER-BOTTOM: #e0e0e0 1px solid; BACKGROUND-COLOR: #f8f8f8; WORD-WRAP: break-word +} +TABLE { + BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 1em; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px; border-spacing: 0 +} +DIV.pagelayout { + BORDER-RIGHT: #000000 2px solid; PADDING-RIGHT: 1em; BORDER-TOP: #000000 2px solid; PADDING-LEFT: 1em; PADDING-BOTTOM: 1em; BORDER-LEFT: #000000 2px solid; PADDING-TOP: 1em; BORDER-BOTTOM: #000000 2px solid; BACKGROUND-COLOR: #ffffff +} +TD.moviecover { + PADDING-RIGHT: 0.5em; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.5em; PADDING-TOP: 0.5em +} +TD.menu { + PADDING-RIGHT: 1em +} +TD.moviecover { + PADDING-RIGHT: 1em +} +TD.fieldname { + TEXT-ALIGN: right +} +TD.fieldcontent { + TEXT-ALIGN: left +} +TD.rightcol { + BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; PADDING-LEFT: 1em; VERTICAL-ALIGN: top; BORDER-LEFT: #000000 1px dotted; BORDER-BOTTOM: #000000 1px +} +TD.classificados { + BORDER-RIGHT: #000000 1px; PADDING-RIGHT: 0.5em; BORDER-TOP: #000000 1px; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.5em; VERTICAL-ALIGN: top; BORDER-LEFT: #000000 1px; PADDING-TOP: 0.5em; BORDER-BOTTOM: #000000 1px +} +TD.classcat { + FONT-WEIGHT: bold; FONT-SIZE: 1.3em; BACKGROUND-COLOR: #d0d0d0; TEXT-ALIGN: center +} +DIV.ypcategory { + FONT-WEIGHT: bold; FONT-SIZE: 1.3em; MARGIN: 4px; WIDTH: 100%; BACKGROUND-COLOR: #d0d0d0; TEXT-ALIGN: left +} +SPAN.yptitle { + FONT-WEIGHT: bold; FONT-SIZE: 1.1em +} +TH { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px +} +TD { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px +} +TD.adnotauthorized { + PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; MARGIN: 4px; VERTICAL-ALIGN: top; WIDTH: 25%; PADDING-TOP: 4px; TEXT-ALIGN: center +} +TD.adauthorized { + PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; MARGIN: 4px; VERTICAL-ALIGN: top; WIDTH: 25%; PADDING-TOP: 4px; TEXT-ALIGN: center +} +TD.adold { + PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; MARGIN: 4px; VERTICAL-ALIGN: top; WIDTH: 25%; PADDING-TOP: 4px; TEXT-ALIGN: center +} +TD.adnotauthorized { + BACKGROUND-COLOR: orange +} +DIV.ypnotauthorized { + BACKGROUND-COLOR: orange +} +DIV.adminbox { + BACKGROUND-COLOR: orange +} +TD.adold { + BACKGROUND-COLOR: #e0e0e0 +} +DIV.adminbox { + WIDTH: 100% +} +DIV.ypauthorized { + MARGIN: 4px; VERTICAL-ALIGN: top; WIDTH: 100%; TEXT-ALIGN: left +} +DIV.ypnotauthorized { + MARGIN: 4px; VERTICAL-ALIGN: top; WIDTH: 100%; TEXT-ALIGN: left +} +TABLE.list { + MARGIN: 1em 0px; WIDTH: 100% +} +TABLE.list TH { + PADDING-RIGHT: 0.5em; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.25em; VERTICAL-ALIGN: top; PADDING-TOP: 0.25em; TEXT-ALIGN: left +} +TABLE.list TD { + PADDING-RIGHT: 0.5em; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.25em; VERTICAL-ALIGN: top; PADDING-TOP: 0.25em; TEXT-ALIGN: left +} +TABLE.list TH { + FONT-WEIGHT: bold; BACKGROUND-COLOR: #f0f0f0 +} +TABLE.list TD { + FONT-WEIGHT: normal +} +TR.bglight { + BACKGROUND-COLOR: #fcfcfc +} +TR.bgdark { + BACKGROUND-COLOR: #f8f8f8 +} +UL { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0.75em 0px 1em 2.5em; PADDING-TOP: 0px +} +OL { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0.75em 0px 1em 2.5em; PADDING-TOP: 0px +} +UL UL { + MARGIN: 0.3em 0px 0.5em 1.3em +} +OL UL { + MARGIN: 0.3em 0px 0.5em 1.3em +} +UL OL { + MARGIN: 0.3em 0px 0.5em 1.9em +} +OL OL { + MARGIN: 0.3em 0px 0.5em 1.9em +} +UL { + LIST-STYLE-TYPE: disc +} +UL UL { + LIST-STYLE-TYPE: disc +} +LI { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0.3em; LINE-HEIGHT: 1.25em; PADDING-TOP: 0px +} +DL { + PADDING-RIGHT: 0em; PADDING-LEFT: 0em; PADDING-BOTTOM: 0em; MARGIN: 0.25em 0px; PADDING-TOP: 0em +} +DT { + MARGIN: 0px 0px 0.25em; FONT-STYLE: normal +} +DD { + MARGIN: 0px 0px 0.25em; FONT-STYLE: normal +} +DT { + FONT-WEIGHT: bold +} +DD { + MARGIN: 0px 1em 0.5em 2.5em +} +FORM { + PADDING-RIGHT: 0em; PADDING-LEFT: 0em; PADDING-BOTTOM: 0em; MARGIN: 0em; PADDING-TOP: 0em +} +LABEL { + PADDING-RIGHT: 0.5em; DISPLAY: block; FONT-WEIGHT: bold; WHITE-SPACE: nowrap +} +TEXTAREA { + FONT-SIZE: 1em; FONT-FAMILY: Arial, Helvetica, sans-serif +} +INPUT.box { + WIDTH: 98% +} +TEXTAREA.box { + WIDTH: 98% +} +INPUT.halfbox { + WIDTH: 47% +} +TEXTAREA.halfbox { + WIDTH: 47% +} +OPTGROUP { + FONT-WEIGHT: bold; FONT-STYLE: normal +} +INPUT.button { + FONT-WEIGHT: normal; MARGIN: 1em 1em 0px 0px +} +INPUT.button-default { + FONT-WEIGHT: bold +} +DIV.block { + CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0.5em 0px; PADDING-TOP: 0px +} +DIV.block DIV.element { + PADDING-RIGHT: 1em; FLOAT: left +} +DIV.buttonblock DIV.element { + PADDING-RIGHT: 1em; FLOAT: left +} +DIV.block DIV.left { + CLEAR: left; FLOAT: left; WIDTH: 48%; TEXT-ALIGN: left +} +DIV.block DIV.right { + CLEAR: right; FLOAT: right; WIDTH: 48%; TEXT-ALIGN: right +} +DIV.break { + CLEAR: both +} +DIV.message-feedback { + PADDING-RIGHT: 0.5em; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.5em; PADDING-TOP: 0.1em +} +DIV.message-warning { + PADDING-RIGHT: 0.5em; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.5em; PADDING-TOP: 0.1em +} +DIV.message-error { + PADDING-RIGHT: 0.5em; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.5em; PADDING-TOP: 0.1em +} +DIV.message-feedback { + BACKGROUND-COLOR: #f0fff0 +} +DIV.message-warning { + BACKGROUND-COLOR: #ffffe0 +} +DIV.message-error { + BACKGROUND-COLOR: #fff0f0 +} +DIV.pagenavigator { + TEXT-ALIGN: center +} +DIV.pagenavigator SPAN.previous { + FLOAT: left +} +DIV.pagenavigator SPAN.next { + CLEAR: right; FLOAT: right +} +.small { + FONT-SIZE: 85% +} +.hide { + DISPLAY: none +} +DIV.imageleft { + DISPLAY: inline; MARGIN: 0.5em +} +DIV.imageright { + DISPLAY: inline; MARGIN: 0.5em +} +DIV.columnresume { + DISPLAY: inline; MARGIN: 0.5em +} +DIV.faxtboxleft { + DISPLAY: inline; MARGIN: 0.5em +} +DIV.faxtboxright { + DISPLAY: inline; MARGIN: 0.5em +} +DIV.leftobject { + DISPLAY: inline; MARGIN: 0.5em +} +DIV.rightobject { + DISPLAY: inline; MARGIN: 0.5em +} +.tright { + DISPLAY: inline; MARGIN: 0.5em +} +DIV.imagecenter { + MARGIN-TOP: 0.3em; DISPLAY: block; MARGIN-BOTTOM: 0.1em; WIDTH: 100% +} +DIV.factboxcenter { + MARGIN-TOP: 0.3em; DISPLAY: block; MARGIN-BOTTOM: 0.1em; WIDTH: 100% +} +DIV.centerobject { + MARGIN-TOP: 0.3em; DISPLAY: block; MARGIN-BOTTOM: 0.1em; WIDTH: 100% +} +DIV.imagecenter { + TEXT-ALIGN: center +} +DIV.factboxcenter { + TEXT-ALIGN: left +} +DIV.imageleft { + PADDING-RIGHT: 0.5em; FLOAT: left +} +DIV.factboxleft { + PADDING-RIGHT: 0.5em; FLOAT: left +} +DIV.leftobject { + PADDING-RIGHT: 0.5em; FLOAT: left +} +DIV.imageright { + CLEAR: right; PADDING-RIGHT: 0px; FLOAT: right +} +DIV.columnresume { + CLEAR: right; PADDING-RIGHT: 0px; FLOAT: right +} +DIV.factboxright { + CLEAR: right; PADDING-RIGHT: 0px; FLOAT: right +} +DIV.rightobject { + CLEAR: right; PADDING-RIGHT: 0px; FLOAT: right +} +.floatright { + CLEAR: right; PADDING-RIGHT: 0px; FLOAT: right +} +.tright { + CLEAR: right; PADDING-RIGHT: 0px; PADDING-LEFT: 2px; FLOAT: right; PADDING-BOTTOM: 2px; PADDING-TOP: 2px +} +DIV.faxtboxleft { + BACKGROUND-COLOR: #f0f0f0 +} +DIV.faxtboxright { + BACKGROUND-COLOR: #f0f0f0 +} +DIV.imageleft P.picturetext { + PADDING-BOTTOM: 0.2em; PADDING-TOP: 0.2em +} +P.picturetext { + PADDING-BOTTOM: 0.2em; PADDING-TOP: 0.2em +} +DIV.imagecenter P.picturetext { + PADDING-BOTTOM: 0.2em; PADDING-TOP: 0.2em +} +P.factbox { + PADDING-BOTTOM: 0.2em; PADDING-TOP: 0.2em +} +.tright { + PADDING-BOTTOM: 0.2em; PADDING-TOP: 0.2em +} +DIV.imageleft P.picturetext { + BACKGROUND-COLOR: #f0f0f0 +} +DIV.imageright { + BACKGROUND-COLOR: #f0f0f0 +} +DIV.columnresume { + BACKGROUND-COLOR: #f0f0f0 +} +P.picturetext { + BACKGROUND-COLOR: #f0f0f0 +} +SPAN.picturetext { + BACKGROUND-COLOR: #f0f0f0 +} +P.factbox { + BACKGROUND-COLOR: #f0f0f0 +} +DIV.imageright { + BACKGROUND-COLOR: #d0d0d0 +} +DIV.columnresume { + BACKGROUND-COLOR: #d0d0d0 +} +.tright { + BACKGROUND-COLOR: #d0d0d0 +} +SPAN.spamfilter { + DISPLAY: none +} +SPAN.classname { + FONT-WEIGHT: bold +} +SPAN.classtitle { + FONT-WEIGHT: bold +} +SPAN.rightcolhead { + FONT-WEIGHT: bold; COLOR: red +} +#efemeridessnip { + TEXT-ALIGN: left +} +DIV.righttext { + TEXT-ALIGN: right +} +DIV.imageright { + max-width: 300px +} +DIV.columnresume { + BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: black 1px solid; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; BORDER-LEFT: black 1px solid; WIDTH: 300px; PADDING-TOP: 3px; BORDER-BOTTOM: black 1px solid +} +DIV.pictcaption { + FONT-WEIGHT: bold; TEXT-ALIGN: center +} +#siteSub { + FONT-SIZE: 0.8em +} +.coordinates { + FONT-SIZE: 0.8em; TEXT-ALIGN: right +} +SPAN.menutop { + COLOR: #8b0000 +} +A.menusub { + COLOR: #8b0000 +} +A.menutop:hover { + COLOR: #ff0000 +} +A.menusub:hover { + COLOR: #ff0000 +} +.menutop { + FONT-WEIGHT: bold; FONT-SIZE: 1.4em +} +.menusub { + FONT-WEIGHT: normal; FONT-SIZE: 1.2em; MARGIN-LEFT: 10px +} +A.menusub:hover { + FONT-WEIGHT: normal +} +DIV.menudiv { + MARGIN-TOP: 5px +} +.wikitable { + CLEAR: right; BORDER-RIGHT: #e0e0e0 1px solid; BORDER-TOP: #e0e0e0 1px solid; FLOAT: right; BORDER-LEFT: #e0e0e0 1px solid; BORDER-BOTTOM: #e0e0e0 1px solid +} +.infobox { + CLEAR: right; BORDER-RIGHT: #e0e0e0 1px solid; BORDER-TOP: #e0e0e0 1px solid; FLOAT: right; BORDER-LEFT: #e0e0e0 1px solid; BORDER-BOTTOM: #e0e0e0 1px solid +} +.Estilo1 { + FONT-SIZE: 10px +} +.Estilo4 { + FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #002d59; FONT-FAMILY: Arial, Helvetica, sans-serif +} +.Estilo6 { + FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #b7e331; FONT-STYLE: italic +} +.Estilo7 { + FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #b7e331; FONT-STYLE: italic; FONT-FAMILY: Arial, Helvetica, sans-serif +} +.Estilo9 { + FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #000000 +} +.Estilo133 { + FONT-FAMILY: Arial, Helvetica, sans-serif +} +.Estilo337 { + FONT-SIZE: 12px; COLOR: #000000 +} +.Estilo10 { + FONT-WEIGHT: bold; FONT-SIZE: 11px +} +.Estilo19 { + FONT-WEIGHT: bold; FONT-SIZE: 12px +} +.Estilo20 { + FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif +} +.Estilo22 { + FONT-WEIGHT: bold; FONT-FAMILY: Arial, Helvetica, sans-serif +} +.sapoi { + BORDER-RIGHT: black 2px solid; BORDER-TOP: black 2px solid; BORDER-LEFT: black 2px solid; BORDER-BOTTOM: black 2px solid +} +A.new { + FONT-WEIGHT: normal; CURSOR: text; COLOR: #606060 +} +A.new:hover { + FONT-WEIGHT: normal; CURSOR: text; COLOR: #606060 +} +#content A { + +} +TABLE.gallery { + BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: #ccc 1px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #ccc 1px solid; BACKGROUND-COLOR: white +} +TABLE.gallery TR { + VERTICAL-ALIGN: top +} +TABLE.gallery TD { + BORDER-RIGHT: white 2px solid; BORDER-TOP: white 2px solid; VERTICAL-ALIGN: top; BORDER-LEFT: white 2px solid; BORDER-BOTTOM: white 2px solid; BACKGROUND-COLOR: #f9f9f9 +} +DIV.gallerybox { + MARGIN: 2px +} +DIV.gallerybox DIV.thumb { + BORDER-RIGHT: #ccc 1px solid; BORDER-TOP: #ccc 1px solid; MARGIN: 3px; OVERFLOW: auto; BORDER-LEFT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; TEXT-ALIGN: center; max-width: 150px +} +DIV.gallerytext { + PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-SIZE: 94%; PADDING-BOTTOM: 2px; PADDING-TOP: 2px +} +DIV.thumb { + BORDER-LEFT-COLOR: white; BORDER-BOTTOM-COLOR: white; MARGIN: 0.1em; BORDER-TOP-STYLE: solid; BORDER-TOP-COLOR: white; BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid; BORDER-RIGHT-COLOR: white; BORDER-BOTTOM-STYLE: solid +} +#toc { + BORDER-RIGHT: #aaa 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #aaa 1px solid; PADDING-LEFT: 5px; FONT-SIZE: 95%; PADDING-BOTTOM: 5px; BORDER-LEFT: #aaa 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #aaa 1px solid; BACKGROUND-COLOR: #f9f9f9 +} +.toc { + BORDER-RIGHT: #aaa 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #aaa 1px solid; PADDING-LEFT: 5px; FONT-SIZE: 95%; PADDING-BOTTOM: 5px; BORDER-LEFT: #aaa 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #aaa 1px solid; BACKGROUND-COLOR: #f9f9f9 +} +.mw-warning { + BORDER-RIGHT: #aaa 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #aaa 1px solid; PADDING-LEFT: 5px; FONT-SIZE: 95%; PADDING-BOTTOM: 5px; BORDER-LEFT: #aaa 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #aaa 1px solid; BACKGROUND-COLOR: #f9f9f9 +} +#siteNotice { + DISPLAY: none +} +.noprint { + DISPLAY: none +} +.protected { + DISPLAY: none +} +#siteSub { + DISPLAY: none +} +.printfooter { + DISPLAY: none +} +#catlinks { + DISPLAY: none +} +#interProject { + DISPLAY: none +} +.editsection { + DISPLAY: none +} +.hiddenStructure { + DISPLAY: none +} +#jump-to-nav { + DISPLAY: none +} +.magnify { + DISPLAY: none +} +.current { + DISPLAY: none +} +#minidesambig { + DISPLAY: none +} +.sabiaque .firstHeading { + DISPLAY: none +} +.sabiaquecontent { + BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: #ccc 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #ccc 1px solid +} diff --git a/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/journal.js b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/journal.js new file mode 100644 index 0000000..e598a0f --- /dev/null +++ b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/journal.js @@ -0,0 +1,237 @@ + var steps=20; + var colors=new Array(steps); + + + // IntToHex: converts integers between 0-255 into a two digit hex string. + function IntToHex(n) { + var result = n.toString(16); + if (result.length==1) result = "0"+result; + return result; + } + + // HexToInt: converts two digit hex strings into integer. + function HexToInt(hex) { + return parseInt(hex, 16); + } + + function getFadeColors(ColorA, ColorB, Colors) { + len = Colors.length; + + // strip '#' signs if present + if (ColorA.charAt(0)=='#') ColorA = ColorA.substring(1); + if (ColorB.charAt(0)=='#') ColorB = ColorB.substring(1); + + // substract rgb compents from hex string + var r = HexToInt(ColorA.substring(0,2)); + var g = HexToInt(ColorA.substring(2,4)); + var b = HexToInt(ColorA.substring(4,6)); + var r2 = HexToInt(ColorB.substring(0,2)); + var g2 = HexToInt(ColorB.substring(2,4)); + var b2 = HexToInt(ColorB.substring(4,6)); + + // calculate size of step for each color component + var rStep = Math.round((r2 - r) / len); + var gStep = Math.round((g2 - g) / len); + var bStep = Math.round((b2 - b) / len); + + // fill Colors array with fader colors + for (i = 0; i < len-1; i++) { + Colors[i] = "#" + IntToHex(r) + IntToHex(g) + IntToHex(b); + r += rStep; + g += gStep; + b += bStep; + } + Colors[len-1] = ColorB; // make sure we finish exactly at ColorB + } + + + function setopacity(element,opacity) { + if ( navigator.product == "Gecko" ) { + element.style.MozOpacity=opacity; + } else if ((navigator.appVersion.indexOf("MSIE")>0) && (parseInt(navigator.appVersion)>=4) && element.filters.alpha ) { + element.filters.alpha.opacity=parseInt(opacity*100); + } else { + if (opacity==1) { + element.style.color=""; + } else { + element.style.color=colors[parseInt(opacity*colors.length)]; + } + } + } + + function fadein(element) { + el = document.getElementById(element); + col+=.05; + setopacity(el,col); + if(col<1) + setTimeout('fadein("'+element+'")', 30); + } + + function fadeout(element) { + el = document.getElementById(element); + col-=.05; + setopacity(el,col) + if(col>0) + setTimeout('fadeout("'+element+'")', 30); + else + el.style.display = 'none'; + } + + + function displaytoggle(element) { + var el = document.getElementById(element); + if (el.style.display == 'none') { + el.style.display = 'block'; + col = 0; + fadein(element); + } else { + col = 1; + fadeout(element); + } + } + + function browseralert() { + if (!document.getElementById) + alert("Seu navegador não suporta as especificações\n"+ + "necessárias para a utilização deste site.\n\n"+ + "Por favor atualize seu navegador"); + } + + function postcomment(code,type) { + window.open(rooturl+'/postform.php?node='+code+'&type='+type,'','location=0,menubar=0,toolbar=0,status=0,scrollbars=1,width=580,height=450'); + } + + function postnewjournalentry() { + window.open(rooturl+'/postentryform.php','','location=0,menubar=0,toolbar=0,status=0,scrollbars=1,width=580,height=450'); + } + + function postnewalbum() { + window.open(rooturl+'/postalbumform.php','','location=0,menubar=0,toolbar=0,status=0,scrollbars=1,width=580,height=450'); + } + + function addphotos(parent) { + window.open(rooturl+'/postpictform1.php?parent='+parent,'','location=0,menubar=0,toolbar=0,status=0,scrollbars=1,width=500,height=450'); + } + + + function transition(toelement) { + col=1; + if ( showing == toelement ) + return; + toel = toelement; + setopacity(document.getElementById(toelement),0); + transition1(); + } + + function fadepictcommto(pictindex) { + if (curpictdesc) { + col-=.05; + curel = document.getElementById(curpictdesc); + setopacity(curel,col); + if (document.albumpicture) + setopacity(document.albumpicture,col); + } else { + col=0; + } + + if (col>0) + setTimeout("fadepictcommto("+pictindex+")",20); + else { + if (curpictdesc) { + curel.style.display="none"; + setopacity(curel,1); + curpictdesc=""; + } + pictplace=document.getElementById("albumpictplace"); + if (document.images) + { + loadpict=pictindex; + preload=new Image(); + preload.onerror=setpict; + preload.onload=setpict; + preload.onabort=setpict; + preload.src=picz[pictindex]; + } else { + setpict(pictindex); + } + } + } + + function setpict() { + pictindex=loadpict; + pictplace=document.getElementById("albumpictplace"); + pictplace.innerHTML = ''; + element=comz[pictindex]; + nextel=document.getElementById(element); + setopacity(nextel,0); + nextel.style.display="block"; + curpictdesc=element; + fadepictcommto2(element); + } + + function fadepictcommto2(element) { + el=document.getElementById(element) + col+=.05; + // el.style.color="rgb(" + col + "," + col + "," + col + ")"; + setopacity(el,col); + if (document.albumpicture) + setopacity(document.albumpicture,col); + if(col<1) + setTimeout('fadepictcommto2("'+element+'")', 20); + else + el.style.color=''; + } + + function transition1() { + el=document.getElementById(showing); + col-=.05; + setopacity(el,col); + if(col>0) + setTimeout('transition1()', 30); + else { + if (curpictdesc && (toel != "albumplace")) { + cpicel = document.getElementById(curpictdesc); + cpicel.style.display='none'; + curpictdesc = ""; + } + showelement(toel); + setTimeout('transition2()', 30); + } + } + + function transition2() { + el=document.getElementById(toel); + col+=.05; + setopacity(el,col); + if(col<1) setTimeout('transition2()', 30); + } + + function showelement(element) { + var el = document.getElementById(element); + var els = document.getElementById(showing); + els.style.display = 'none'; + el.style.display = 'block'; + showing = element; + } + + function pictransition(picindex) { + el = document.getElementById("album"); + comname = comz[picindex]; + pictplace = document.getElementById("albumpictplace"); + comel = document.getElementById(comname); + + + if ( showing == "albumplace" ) { + col = 1; + fadepictcommto(picindex); + } else { + pictplace.innerHTML = ''; + comel = document.getElementById(comname); + comel.style.display = 'block'; + comel.style.color = ''; + curpictdesc=comname; + transition("albumplace"); + } + } + + getFadeColors(bgcolor,fcolor,colors); diff --git a/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/pngfix.js b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/pngfix.js new file mode 100644 index 0000000..ba1a099 --- /dev/null +++ b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/pngfix.js @@ -0,0 +1,29 @@ + +// Correctly handle PNG transparency in Win IE 5.5 or higher. +// http://homepage.ntlworld.com/bobosola. Updated 02-March-2004 + +function correctPNG() + { + for(var i=0; i" + img.outerHTML = strNewHTML + i = i-1 + } + } + } +window.attachEvent("onload", correctPNG); \ No newline at end of file diff --git a/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/show_ads.js b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/show_ads.js new file mode 100644 index 0000000..cb4c66b --- /dev/null +++ b/yasminoku_025a_unofficial_translations/portuguese/CONTESTADO_COM - Sudoku_archivos/show_ads.js @@ -0,0 +1,36 @@ +(function(){ +var h={google_ad_channel:"channel",google_ad_host:"host",google_ad_region:"region",google_ad_section:"region",google_ad_type:"ad_type",google_adtest:"adtest",google_alternate_ad_url:"alternate_ad_url",google_alternate_color:"alt_color",google_bid:"bid",google_city:"gcs",google_color_bg:"color_bg",google_color_border:"color_border",google_color_line:"color_line",google_color_link:"color_link",google_color_text:"color_text",google_color_url:"color_url",google_contents:"contents",google_country:"gl", +google_cust_age:"cust_age",google_cust_ch:"cust_ch",google_cust_gender:"cust_gender",google_cust_id:"cust_id",google_cust_interests:"cust_interests",google_cust_job:"cust_job",google_cust_l:"cust_l",google_cust_lh:"cust_lh",google_cust_u_url:"cust_u_url",google_disable_video_autoplay:"disable_video_autoplay",google_ed:"ed",google_encoding:"oe",google_feedback:"feedback_link",google_flash_version:"flash",google_gl:"gl",google_hints:"hints",google_kw:"kw",google_kw_type:"kw_type",google_language:"hl", +google_referrer_url:"ref",google_region:"gr",google_reuse_colors:"reuse_colors",google_safe:"adsafe",google_targeting:"targeting",google_ui_features:"ui"},m={google_ad_format:"format",google_ad_output:"output",google_ad_callback:"callback",google_ad_override:"google_ad_override",google_ad_slot:"slotname",google_analytics_webpropids:"ga_wpids",google_correlator:"correlator",google_cpa_choice:"cpa_choice",google_image_size:"image_size",google_last_modified_time:"lmt",google_max_num_ads:"num_ads",google_max_radlink_len:"max_radlink_len", +google_num_radlinks:"num_radlinks",google_num_radlinks_per_unit:"num_radlinks_per_unit",google_only_ads_with_video:"only_ads_with_video",google_page_location:"loc",google_page_url:"url",google_rl_dest_url:"rl_dest_url",google_rl_filtering:"rl_filtering",google_rl_mode:"rl_mode",google_rt:"rt",google_skip:"skip"};function n(b){return h[b]||m[b]||null}var u=document;function w(){var b=u.cookie,a=Math.round((new Date).getTime()/1000),d=b.indexOf("__utma=")>-1,e=b.indexOf("__utmb=")>-1,c=b.indexOf("__utmc=")> +-1,f,g={};if(d){f=b.split("__utma=")[1].split(";")[0].split(".");g.sid=(!e||!c?a:f[4])+"";g.vid=f[1]+"."+f[2];g.from_cookie=true}else{g.sid=window&&window.gaGlobal&&window.gaGlobal.sid?window.gaGlobal.sid:a+"";g.vid=window&&window.gaGlobal&&window.gaGlobal.vid?window.gaGlobal.vid:Math.round(Math.random()*2147483647)+"."+a;g.from_cookie=false}g.hid=window&&window.gaGlobal&&window.gaGlobal.hid?window.gaGlobal.hid:Math.round(Math.random()*2147483647);window.gaGlobal=g;return g}(function(){function b(){} +b.prototype.l=function(e){var c=e.indexOf("#")+1;return c?e.substr(c):""};b.prototype.n=function(e){return/[&<>\"]/.test(e)?e.replace(/&/g,"&").replace(//g,">").replace(/\"/g,"""):e};b.prototype.b=function(e){var c=""};b.prototype.m=function(e,c){try{return e.frames[c]}catch(f){return null}};b.prototype.e=function(e){var c=document.createElement("iframe");for(var f in e){c.setAttribute(f, +e[f])}return c};b.prototype.i=function(e,c){var f=this;setTimeout(function(){document.body.appendChild(f.e({id:e,name:e,src:c,width:0,height:0,frameBorder:0}))},0)};b.prototype.r=function(e,c){var f=this;document.write(f.b({id:e,name:e,src:c,width:0,height:0,frameBorder:0}))};b.prototype.g=function(e,c){var f=[],g=e.length,k=0;while(k0){g.f[c]=i[o];for(var q=0;qIDICommon.MAX_URL_LENGTH){y+="$";var H=l.d(c),S=IDICommon.MAX_URL_LENGTH-1-H.length,I=IDICommon.g(y,S),J=I.length;for(var s=0;s')}if(R(b.google_ad_output,b.google_ad_client)){IDIHost.q("http://pagead2.googlesyndication.com/pagead/idi_relay.html");var c=0;if(b.google_num_0ad_slots){c+= +b.google_num_0ad_slots}if(b.google_num_ad_slots){c+=b.google_num_ad_slots}if(b.google_num_sdo_slots){c+=b.google_num_sdo_slots}var f="google_inline_div"+c,g="
';a.write(g);var k="google_frame"+c,j=b.setTimeout(function(){IDIHost.h(k)},5000);IDIHost.j(d,k,b.google_ad_width,b.google_ad_height,{callback:function(l, +i){P(l,i,j)},pollingInterval:500,iframeAttrs:{style:"position: absolute;left:0px",marginWidth:"0",marginHeight:"0",vspace:"0",hspace:"0",allowTransparency:"true"},parentDivId:f})}else{a.write('")}if(e!=null){a.write("
")}}}else if(b.google_ad_output== +"textlink"){a.write('