// JavaScript Document
function index(){window.location.href="../"}
function sitemap(){window.location.href="/sub05/index.php?menu=1"}
function contactus(){window.location.href="/sub01/index.php?menu=7"}
function login(){window.location.href="/bbs/login.php"}
function logout(){window.location.href="/bbs/logout.php"}
function join(){window.location.href="/bbs/register.php"}
function sujung(){window.location.href="/bbs/member_confirm.php?url=register_form.php"}
function mypage(){window.location.href="/shop/mypage.php"}
function cart(){window.location.href="/shop/cart.php"}



// 1.¼Ò°³
function sub01_01(){window.location.href="/sub01/index.php?menu=1"}
function sub01_01_02(){window.location.href="/sub01/index.php?menu=12"}
function sub01_01_03(){window.location.href="/sub01/index.php?menu=13"}

function sub01_02(){window.location.href="/sub01/index.php?menu=2"}
function sub01_02_02(){window.location.href="/sub01/index.php?menu=22"}

function sub01_03(){window.location.href="/sub01/index.php?menu=3"}
function sub01_03_02(){window.location.href="/sub01/index.php?menu=32"}

function sub01_04(){window.location.href="/sub01/index.php?menu=4"}
function sub01_04_02(){window.location.href="/sub01/index.php?menu=42"}

function sub01_05(){window.location.href="/sub01/index.php?menu=5"}
function sub01_05_02(){window.location.href="/sub01/index.php?menu=52"}

function sub01_06(){window.location.href="/sub01/index.php?menu=6"}
function sub01_07(){window.location.href="/sub01/index.php?menu=7"}
function sub01_08(){window.location.href="/sub01/index.php?menu=8"}



// 2.Á¶Á÷ ¹× ´ÜÃ¼
function sub02_01(){window.location.href="/sub02/index.php?menu=1"}
function sub02_02(){window.location.href="/sub02/index.php?menu=2"}
function sub02_02_02(){window.location.href="/bbs/board.php?bo_table=sub02_02_02"}
function sub02_03(){window.location.href="/bbs/board.php?bo_table=sub02_03"}
function sub02_03_02(){window.location.href="/bbs/board.php?bo_table=sub02_03_02"}
function sub02_04(){window.location.href="/sub02/index.php?menu=4"}
function sub02_04_02_01(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_01"}
function sub02_04_02_02(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_02"}
function sub02_04_02_03(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_03"}
function sub02_04_02_04(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_04"}
function sub02_04_02_05(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_05"}
function sub02_04_02_06(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_06"}
function sub02_04_02_07(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_07"}
function sub02_04_02_08(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_08"}
function sub02_04_02_09(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_09"}
function sub02_04_02_10(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_10"}
function sub02_04_02_11(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_11"}
function sub02_04_02_12(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_12"}
function sub02_04_02_13(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_13"}
function sub02_04_02_14(){window.location.href="/bbs/board.php?bo_table=sub02_04_02_14"}


function sub02_05(){window.location.href="/bbs/board.php?bo_table=sub02_05"}
function sub02_05_02(){window.location.href="/bbs/board.php?bo_table=sub02_05_02"}
function sub02_05_03(){window.location.href="/bbs/board.php?bo_table=sub02_05_03"}

function sub02_06(){window.location.href="/bbs/board.php?bo_table=sub02_06"}
function sub02_06_02(){window.location.href="/bbs/board.php?bo_table=sub02_06_02"}

function sub02_07(){window.location.href="/bbs/board.php?bo_table=sub02_07"}
function sub02_07_02(){window.location.href="/bbs/board.php?bo_table=sub02_07_02"}

function sub02_08(){window.location.href="/bbs/board.php?bo_table=sub02_08"}
function sub02_09(){window.location.href="/bbs/board.php?bo_table=sub02_09"}

function sub02_10(){window.location.href="/bbs/board.php?bo_table=sub02_10"}
function sub02_10_02(){window.location.href="/bbs/board.php?bo_table=sub02_10_02"}

// 3.°Ô½ÃÆÇ

function sub03_01(){window.location.href="/bbs/board.php?bo_table=sub03_01"}
function sub03_02(){window.location.href="/bbs/board.php?bo_table=sub03_02"}
function sub03_03(){window.location.href="/bbs/board.php?bo_table=sub03_03"}
function sub03_04(){window.location.href="/bbs/board.php?bo_table=sub03_04"}
function sub03_05(){window.location.href="/bbs/board.php?bo_table=sub03_05"}
function sub03_06(){window.location.href="/bbs/board.php?bo_table=sub03_06"}


// 4.ÀÚ·á½Ç
function sub04_01(){window.location.href="/bbs/board.php?bo_table=sub04_01"}
function sub04_02(){window.location.href="/sub04/index.php?menu=1"}
function sub04_03(){window.location.href="/sub04/index.php?menu=1"}
function sub04_04(){window.location.href="/sub04/index.php?menu=1"}
function sub04_05(){window.location.href="/sub04/index.php?menu=1"}
function sub04_06(){window.location.href="/sub04/index.php?menu=1"}
function sub04_07(){window.location.href="/sub04/index.php?menu=1"}


// 5.±âÅ¸
function sub05_01(){window.location.href="/bbs/login.php"}
function sub05_02(){window.location.href="/bbs/register.php"}
function sub05_03(){window.location.href="/sub05/index.php?menu=3"}
function sub05_04(){window.location.href="/bbs/write.php?bo_table=sub05_01"}



// 6±âÅ¸¸µÅ©
function sub06_01(){window.location.href="/sub01/index.php?menu=5"}
function webhard(){window.open("http://webhard.co.kr")}
function f_1(){window.location.href="/bbs/register.php"}
function f_2(){window.location.href="/bbs/register.php"}


// Áöµµ
function store_01(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=ÀÎÃµ"}
function store_02(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=±¤ÁÖ"}
function store_03(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=ÀüºÏ"}
function store_04(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=´ë±¸"}
function store_05(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=¼­¿ï"}
function store_06(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=´ëÀü"}
function store_07(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=¿ï»ê"}
function store_08(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=ÃæºÏ"}
function store_09(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=°æºÏ"}
function store_10(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=ºÎ»ê"}
function store_11(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=°æ±â"}
function store_12(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=°­¿ø"}
function store_13(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=Ãæ³²"}
function store_14(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=°æ³²"}
function store_15(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=Á¦ÁÖ"}
function store_16(){window.location.href="../bbs/board.php?bo_table=sub03_01&sca=&expert_s=1&ex_5=Àü³²"}



/*
 * FlashObject embed
 * by Geoff Stearns (geoff@deconcept.com, http://www.deconcept.com/)
 *
 * v1.1.1 - 05-17-2005
 *
 * writes the embed code for a flash movie, includes plugin detection
 *
 * Usage:
 *
 *	myFlash = new FlashObject("path/to/swf.swf", "swfid", "width", "height", flashversion, "backgroundcolor");
 *	myFlash.write("objId");
 *
 * for best practices, see:
 *  http://blog.deconcept.com/2005/03/31/proper-flash-embedding-flashobject-best-practices/
 *
 */

var FlashObject = function(swf, id, w, h, ver, c) {
	this.swf = swf;
	this.id = id;
	this.width = w;
	this.height = h;
	this.version = ver;
	this.align = "middle";

	this.params = new Object();
	this.variables = new Object();

	this.redirect = "";
	this.sq = document.location.search.split("?")[1] || "";
	this.bypassTxt = "<p>Already have Macromedia Flash Player? <a href='?detectflash=false&"+ this.sq +"'>Click here if you have Flash Player "+ this.version +" installed</a>.</p>";
	
	if (c) this.color = this.addParam('bgcolor', c);
	this.addParam('quality', 'high'); // default to high
	this.doDetect = getQueryParamValue('detectflash');
}

var FOP = FlashObject.prototype;

FOP.addParam = function(name, value) { this.params[name] = value; }

FOP.getParams = function() { return this.params; }

FOP.getParam = function(name) { return this.params[name]; }

FOP.addVariable = function(name, value) { this.variables[name] = value; }

FOP.getVariable = function(name) { return this.variables[name]; }

FOP.getVariables = function() { return this.variables; }

FOP.getParamTags = function() {
    var paramTags = "";
    for (var param in this.getParams()) {
        paramTags += '<param name="' + param + '" value="' + this.getParam(param) + '" />';
    }
    return (paramTags == "") ? false:paramTags;
}

FOP.getHTML = function() {
    var flashHTML = "";
    if (navigator.plugins && navigator.mimeTypes.length) { // netscape plugin architecture
        flashHTML += '<embed type="application/x-shockwave-flash" src="' + this.swf + '" width="' + this.width + '" height="' + this.height + '" id="' + this.id + '" align="' + this.align + '"';
        for (var param in this.getParams()) {
            flashHTML += ' ' + param + '="' + this.getParam(param) + '"';
        }
        if (this.getVariablePairs()) {
            flashHTML += ' flashVars="' + this.getVariablePairs() + '"';
        }
        flashHTML += '></embed>';
    } else { // PC IE
        flashHTML += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + this.width + '" height="' + this.height + '" name="' + this.id + '" align="' + this.align + '">';
        flashHTML += '<param name="movie" value="' + this.swf + '" />';
        if (this.getParamTags()) {
            flashHTML += this.getParamTags();
        }
        if (this.getVariablePairs() != null) {
            flashHTML += '<param name="flashVars" value="' + this.getVariablePairs() + '" />';
        }
        flashHTML += '</object>';
    }
    return flashHTML;	
}

FOP.getVariablePairs = function() {
    var variablePairs = new Array();
    for (var name in this.getVariables()) { 
    	variablePairs.push(name + "=" + escape(this.getVariable(name))); 
    }
    return (variablePairs.length > 0) ? variablePairs.join("&"):false;
}

FOP.write = function(elementId) {
	if(detectFlash(this.version) || this.doDetect=='false') {
		if (elementId) {
			document.getElementById(elementId).innerHTML = this.getHTML();
		} else {
			document.write(this.getHTML());
		}
	} else {
		if (this.redirect != "") {
			document.location.replace(this.redirect);
		} else if (this.altTxt) {
			if (elementId) {
				document.getElementById(elementId).innerHTML = this.altTxt +""+ this.bypassTxt;
			} else {
				document.write(this.altTxt +""+ this.bypassTxt);
			}
		}
	}		
}

/* ---- detection functions ---- */
function getFlashVersion() {
	var flashversion = 0;
	if (navigator.plugins && navigator.mimeTypes.length) {
		var x = navigator.plugins["Shockwave Flash"];
		if(x && x.description) {
			var y = x.description;
   			flashversion = y.charAt(y.indexOf('.')-1);
		}
	} else {
		result = false;
	    for(var i = 15; i >= 3 && result != true; i--){
   			execScript('on error resume next: result = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+i+'"))','VBScript');
   			flashversion = i;
   		}
	}
	return flashversion;
}

function detectFlash(ver) {	return (getFlashVersion() >= ver) ? true:false; }

// get value of query string param
function getQueryParamValue(param) {
	var q = document.location.search || document.location.href.split("#")[1];
	if (q) {
		var detectIndex = q.indexOf(param +"=");
		var endIndex = (q.indexOf("&", detectIndex) > -1) ? q.indexOf("&", detectIndex) : q.length;
		if (q.length > 1 && detectIndex > -1) {
			return q.substring(q.indexOf("=", detectIndex)+1, endIndex);
		} else {
			return "";
		}
	}
}

/* add Array.push if needed */
if(Array.prototype.push == null){
	Array.prototype.push = function(item) { this[this.length] = item; return this.length; }
}
