/*
Ç÷¡½Ã
*/
function PrintFlash(flash_src,swf_width,swf_height,param_wmode,param_acess)
{
if(param_wmode == null) param_wmode = "transparent";
if(param_acess == null) param_acess = "always";
HtmlTag = "";
document.write(HtmlTag);
}
/* ÀÏ¹Ý Ã¢ ¶ç¿ì±â */
function PopWin(Win_name, ref, width, height, left, top)
{
if(left == null) {
var window_left = (screen.width-800)/2;
} else {
var window_left = left;
}
if(top == null) {
var window_top = (screen.height-800)/2;
} else {
var window_top = top;
}
var openwin = window.open(ref,Win_name,'width='+width+',height='+height+', resizable=no, status=no, top=' + window_top + ',left=' + window_left + '');
openwin.focus();
}
/* ÀÏ¹Ý Ã¢ ¶ç¿ì±â */
function PopWin2(Win_name,ref, width, height, left, top)
{
if(left == null) {
var window_left = (screen.width-800)/2;
} else {
var window_left = left;
}
if(top == null) {
var window_top = (screen.height-800)/2;
} else {
var window_top = top;
}
var openwin = window.open(ref,Win_name,'width='+width+',height='+height+', resizable=no, status=no, top=' + window_top + ',left=' + window_left + '');
openwin.focus();
}
/* ÀÏ¹Ý Ã¢ ¶ç¿ì±â 460*300 */
function New_PopWin(Win_name,ref)
{
var window_left = (screen.width-800)/2;
var window_top = (screen.height-600)/2;
var openwin = window.open(ref,Win_name,'width=460,height=300, resizable=no, status=no, top=' + window_top + ',left=' + window_left + '');
openwin.focus();
}
/* url ·Î ÇØ´çÆäÀÌÁö¿¡¼ »Ñ·ÁÁִ°ªÀ»°¡Á®¿Â´Ù*/
function getHttprequest(URL) {
var xmlhttp = null;
if(window.XMLHttpRequest) {
xmlhttp = new XMLHttpRequest();
} else {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.open('GET', URL,false);
xmlhttp.onreadystatechange = function() {
if(xmlhttp.readyState==4 && xmlhttp.status == 200 && xmlhttp.statusText=='OK') {
responseText = xmlhttp.responseText;
}
}
xmlhttp.send('');
return responseText = xmlhttp.responseText;
}
/* ÀÏ¹Ý Ã¢ ¶ç¿ì±â 460*500 */
function pwid_PopWin(Win_name,ref)
{
var window_left = (screen.width-800)/2;
var window_top = (screen.height-600)/2;
var openwin = window.open(ref,Win_name,'width=460,height=500, resizable=no, status=no, top=' + window_top + ',left=' + window_left + '');
openwin.focus();
}