/*COIN -Copyright (c)2008 InfoPlayer.jp. All Rights Reserved/concept design ID-G
このプログラムの無断転載と無断利用、複製、流用、改ざん、改変、転載、リバースエンジニアリング、並びにそれに伴う本サイトプログラムの無断での使用を禁じます。
 */
jQuery(document).ready(function(){jQuery("#oStarting").o({mode:"url",trigger:"hide"});jQuery().mouseup(function(b,a){jQuery().oWordSelect(b,a)});jQuery("#oTop_title").hide();jQuery("#oHeader_btnTop").click(function(){location.href="siteTop.do"});jQuery("#oHeader_btnTopWin").click(function(){location.href=(($o.referer!="")&&(!$o.referer.match(new RegExp("^"+$o.url))))?$o.referer:"siteTop.do"});jQuery("#oRound_btnOpen").click(function(){if((typeof($o.nowTop)=="undefined")||(!$o.nowTop.coinCd)){return}$o.searchRound.next("next")});jQuery("#btnWhatsOpen").click(function(){jQuery("#whats").fadeIn(200)});jQuery("#btnWhatsClose").click(function(){jQuery("#whats").fadeOut(200)});jQuery("#oHelp_btnOpen").click(function(){var a=jQuery("#oHelp");if(a.isShow()){jQuery(this).stop().html("? Help").css({textDecoration:"",color:"#888"});a.find("img").attr({src:"space.gif"}).end().hide()}else{jQuery(this).html("x Help Close").css({color:"red"}).oBlink();if(jQuery().o.opt.disp.div.isShow()){var b=jQuery().o.homePosition("move")}else{jQuery("#oStarting").o({trigger:"hide"});b=jQuery().o.homePosition()}a.css({left:b.left-60,top:b.top-80}).find("img").attr({src:($o.jQp.isShow())?($o.imgDir+"helppl.gif"):($o.imgDir+"help.gif")}).end().show()}});jQuery("#thumbBody").setTemplate($o.jTmp._templates.search);jQuery("#category_select").change(function(){$o.searchCategory($o.toNum(document.frmSearch.category.value),$o.o.coinId)});jQuery("#starting_btnNew").click(function(){location.href="siteTop.do#md=new"});jQuery("#search_btnSandbox").click(function(){window.open("../sbox/ipsandbox.html#o=jGPfJ809Hs4","_blank","width=928,height=728,menubar=no,directories=no,location=no,toolbar=no,resizable=yes,scrollbars=yes")});jQuery("#btnMore,#btnMore3,#search_btnNew").click(function(){location.href="search.html?md=u"});jQuery(".btnRed").wrapInner('<span class="decoText"></span>').prepend('<img src="'+$o.cssDir+'btnred.png" class="decoImg">').bind("selectstart",function(){event.returnValue=false}).hover(function(){jQuery(this).addClass("decoHover")},function(){jQuery(this).removeClass("decoHover")});jQuery(window).unload(function(){$o.closeCoin()})});
