function user_info(user_id) {
var option = "top=0; left=0, width=600, height=570, toolbar=no, status=no, resizable=no ,scrollbars=no";
window.open("/member_info/info_main.jsp?user_id="+user_id, "_blank", option);
}
function user_info3(user_id) {
var option = "top=0; left=0, width=600, height=570, toolbar=no, status=no, resizable=no ,scrollbars=no";
window.open("../../../member_info/info_main.jsp?user_id="+user_id, "_blank", option);
}
function user_info2(user_seq) {
alert("seq");
}
function enterkey(obj) {
if(event.keyCode==13) {
search();
}
else {
return;
}
}
function uriEncoding(arg) {
return encodeURIComponent(arg);
}
function imgSize(img){
if(document.getElementById("topImg").height > 135){
document.getElementById("topBg").height = document.getElementById("topImg").height;
}else{
document.getElementById("topBg").height = "135";
}
document.body.style.backgroundImage = "url("+img+")";
}
function colorTable(v) {
document.writeln("
");
for(var k=0x00; k<0x100; k+=0x33) {
document.writeln(" ");
for(var j=0x00; j<0x80; j+=0x33) {
for(var i=0x00; i<0x100; i+=0x33) {
n=""+(k.toString(16)==0?'00':k.toString(16))+(j.toString(16)==0?'00':j.toString(16))+ (i.toString(16)==0?'00':i.toString(16));
document.writeln(" | ");
}
}
document.writeln("
");
}
for(var k=0x00; k<0x100; k+=0x33) {
document.writeln(" ");
for(var j=0x99; j<0x100; j+=0x33) {
for(var i=0x00; i<0x100; i+=0x33) {
n=""+(k.toString(16)==0?'00':k.toString(16))+
(j.toString(16)==0?'00':j.toString(16))+
(i.toString(16)==0?'00':i.toString(16));
document.writeln(" | ");
}
}
document.writeln("
");
}
document.writeln("
");
document.writeln("");
document.writeln("| Close |
");
document.writeln("
");
}
function showColor(v) {
eval("document.getElementById('Layer"+v+"')").style.display=(eval("document.getElementById('Layer"+v+"')").style.display=='')?'none':'';
}
function chooseColor(c, v) {
eval("document.getElementById('Layer"+v+"')").style.background="#"+c;
if(v == "1") {
document.getElementById("preview_bg").style.background="#"+c;
document.getElementById("Layer3").value="#"+c;
goLayer2();
} else if(v == "4") {
document.getElementById("Layer5").style.background="#"+c;
document.getElementById("preview_font").style.color="#"+c;
document.getElementById("Layer6").value="#"+c;
goLayer5();
if(c == "ffffff"){
document.getElementById("bgch_20110114").style.background="#000000";
}else{
document.getElementById("bgch_20110114").style.background="#ffffff";
}
} else if(v == "7") {
document.getElementById("Layer2_").style.background="#"+c;
document.getElementById("preview_bg2").style.background="#"+c;
document.getElementById("Layer3_").value="#"+c;
goLayer2_();
} else if(v == "8") {
document.getElementById("Layer5_").style.background="#"+c;
document.getElementById("preview_font_").style.color="#"+c;
document.getElementById("Layer6_").value="#"+c;
goLayer5_();
}
}
function goLayer2() {
document.getElementById("Layer2").style.background = document.getElementById("Layer3").value;
document.getElementById("preview_bg").style.background = document.getElementById("Layer3").value;
}
function goLayer5() {
document.getElementById("Layer5").style.background = document.getElementById("Layer6").value;
document.getElementById("preview_font").style.color = document.getElementById("Layer6").value;
}
function goLayer2_() {
document.getElementById("Layer2_").style.background = document.getElementById("Layer3_").value;
document.getElementById("preview_bg2").style.background = document.getElementById("Layer3_").value;
}
function goLayer5_() {
document.getElementById("Layer5_").style.background = document.getElementById("Layer6_").value;
document.getElementById("preview_font_").style.color = document.getElementById("Layer6_").value;
}