function open_win(path)
{
	open_custom_archive(path,483,400);
}

function open_tour(path)
{
	open_custom(path,1000,680);
}

function open_timecodes_win(path)
{
	open_custom_archive(path,670,495);
}

function open_terms(path)
{
	open_custom_archive(path,797,756);
}

function open_window(path)
{
	open_custom_archive(path,466,515);
}

function open_linking(path)
{
	open_custom_archive(path,466,515);
}

function open_tips(path)
{
	open_custom_archive(path,800,790);
}

function open_image_link_win(path)
{
	open_custom(path,504,500);
}

function open_image_link_win_big(path)
{
	open_custom(path,504,843);
}

function open_wysiwyg_win (path)
{
	open_custom(path,663,520);
}


function open_custom(path,width,height) 
{
	window.open(path, 'aWindow',' width=' + width + ', height=' + height + ', menubar=no, location=no, resizable=no, hotkeys=no, directories=no, scrollbars=no, toolbar=no, titlebar=no, status=no'); 
}

function open_custom_archive(path,width,height) 
{
	window.open(path, 'aWindow',' width=' + width + ', height=' + height + ', menubar=no, location=no, resizable=yes, hotkeys=no, directories=no, scrollbars=yes, toolbar=no, titlebar=no, status=no'); 
}

function close_win()
{
	setTimeout("closeAndReload()",2000);
}

function closeAndReload()
{
	window.opener.location = getURLWithoutQueryString();
	self.close();
}


