function popup(url,width,height,scroll)
{
var nWidth=width;
var nHeight=height;
var winPosLeft = (screen.width) / 2 - nWidth; // »õâ x ÁÂÇ¥
var winPosTop = (screen.height - nHeight - 100) / 2; // »õâ y ÁÂÇ¥
window.open(url,'main_popup','location=no, directories=no,resizable=no,status=no,toolbar=no,menubar=no,width='+width+',height='+height+',left='+winPosLeft+ ', top='+winPosTop+ ', scrollbars='+scroll+'');
}
function mainSlider(proc) {
if(slide_ready){ //¾ÕÀÇ ¾Ö´Ï¸ÞÀ̼ÇÀÌ ¿Ï·áµÇ¾úÀ»¶§¸¸
slide_ready = false;
var obj_cnt = $(".slide_pos").length;
var cur_idx = 0, new_idx=0;
$(".slide_pos").each(function(idx) {
if($(this).attr('src') == "/default/img/main_rolling_loacation_over.png") {
$(this).attr('src', "/default/img/main_rolling_loacation.png");
cur_idx = idx;
}
});
if(proc == "prev") {
new_idx = cur_idx-1;
}else{
new_idx = cur_idx+1 -4;
}
$(".slide_pos").eq(new_idx).attr('src', "/default/img/main_rolling_loacation_over.png");
/*
//== Case1. ¼øÂ÷ ¾Ö´Ï¸ÞÀÌ¼Ç ==//
$(".slide_img").eq(cur_idx).fadeOut('slow', function () {
$(".slide_img").eq(new_idx).fadeIn('slow', function() {
slide_ready = true;
});
});
*/
//== Case2. µ¿½Ã ¾Ö´Ï¸ÞÀ̼Ç==//
$(".slide_img").eq(cur_idx).fadeOut('slow');
$(".slide_img").eq(new_idx).fadeIn('slow', function() {
slide_ready = true;
});
/*
//== Case3. ½½¶óÀÌµå ¾Ö´Ï¸ÞÀÌ¼Ç ==//
$(".slide_img").eq(cur_idx).slideToggle('slow', function () {
$(".slide_img").eq(new_idx).slideToggle('slow');
});
*/
$("#slide_caption").text($(".slide_img").eq(new_idx).attr('alt'));
/*
//¾Ö´Ï¸ÞÀÌ¼Ç ¿©ºÎüũ : »óÀ§ÀÇ ¾Ö´Ï¸ÞÀ̼ǽà ÄݹéÇÔ¼ö·Î 󸮰¡´ÉÇϱ⿡ »ç¿ëÇÏÁö ¾Ê´Â´Ù.
if($(".slide_img").eq(cur_idx).is(":animated") || $(".slide_img").eq(new_idx).is(":animated") ) {
slide_ready = true;
}
*/
}else{
return false;
}
}
function closeWin1() {
document.all['mscroll'].style.visibility = "hidden";
}
function fFlash_Activate(argSRC, argWIDTH, argHEIGHT, argID, argWMODE, argVars) {
var contents = '';
document.write(contents);
}
function resizeElement( $id, $prop, $pixel ){
var obj = document.getElementById( $id );
obj.style[$prop] = $pixel + "px";
}
function bluring() {
try{
if(event.srcElement.tagName=='A'||event.srcElement.tagName=='IMG') {
document.body.focus();
}
}catch( e ) { }
}
try{
document.onfocusin=bluring;
}catch( e ) { }
var rurl = location.href;
var purl = getUrl(rurl);
function getUrl(url_str)
{
var real_url;
if (url_str.indexOf('/') > 0)
{
real_url = url_str.split('/');
real_url = real_url[0]+'//'+real_url[2]+'/'+real_url[3]+'/';
}
return real_url;
}
function goLocate(go_url)
{
document.location = purl + go_url;
}
//ÆäÀÌÁöÀ̵¿ÈÄ ÆË¾÷´Ý±â
function popup_window(url, winname, opt)
{
window.open(url, winname, opt);
}
//
function logCorpAScript_full(){
HTTP_MSN_MEMBER_NAME="";/*member name*/
var prtc=(document.location.protocol=="https:")?"https://":"http://";
var hst=prtc+"asp28.http.or.kr";
var rnd="r"+(new Date().getTime()*Math.random()*9);
this.ch=function(){
if(document.getElementsByTagName("head")[0]){this.dls();}else{window.setTimeout(logCorpAnalysis_full.ch,30)}
}
this.dls=function(){
var h=document.getElementsByTagName("head")[0];
var s=document.createElement("script");s.type="text/jav"+"ascript";try{s.defer=true;}catch(e){};try{s.async=true;}catch(e){};
if(h){s.src=hst+"/HTTP_MSN/UsrConfig/health4321/js/ASP_Conf.js?s="+rnd;h.appendChild(s);}
}
this.init= function(){
document.write('
');
}
}
if(typeof logCorpAnalysis_full=="undefined"){ var logCorpAnalysis_full=new logCorpAScript_full();logCorpAnalysis_full.init();}
//
·¹À̾îÆË¾÷ ³¡