function imageError() {
				if (document.images)
				{
					for (var i = 0; i < document.images.length; i++)
					if (document.images[i].name == 'mbImage')
					{
						if (document.images[i].complete == false) {
							document.images[i].src = '/shared/images/ko_websmall/not_available_120.gif';
						}
					}
				}
}

// JavaScript Document

var mywin

function checkWindow(url, height, width, scrollopt)
{
	if (!mywin || mywin.closed) {
		open_win(url, height, width, scrollopt)
	}else{
		mywin.close()
		open_win(url, height, width, scrollopt)
	}
}

function open_win(url, height, width, scrollopt)  
{
  if (scrollopt == "yes") {
  	mywin = window.open(url,"win","toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=1,resizable=1,left=90,top=150,width=" + width + ",height=" + height);
  }
  else {
    mywin = window.open(url,"win","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,left=50,top=150,width=" + width + ",height=" + height);
  }
}



// JavaScript Document