/**
 * =============================================================
 *  objects.prop
 * =============================================================
 * @package		javascript
 * @author		sYoshioka
 * @copyright	COPYRIGHT (C) 2009 JCity Inc., ALL RIGHTS RESERVED.
 * @version		$Id: objects.prop 843 2014-05-09 09:45:31Z yoshsei $
 */

var popup_window = Array();

popup_window.push({
	url : "/services/",
	window_name : "cbtjp_services",
	width : 960,
	height : 700,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

popup_window.push({
	url : "/services/diary/week/\\?popup=1",
	window_name : "cbtjp_services_diary",
	width : 727,
	height : 640,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

popup_window.push({
	url : "/services/mood_graph/view/\\?popup=1",
	window_name : "cbtjp_services_mood_graph",
	width : 700,
	height : 700,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

popup_window.push({
	url : "/services/chapter2/activitynote/",
	window_name : "chapter2_activitynote",
	width : 700,
	height : 700,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

popup_window.push({
	url : "/services/chapter2/activitylist/",
	window_name : "chapter2_activitylist",
	width : 700,
	height : 700,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

popup_window.push({
	url : "/services/chapter2/activityplan/",
	window_name : "chapter2_activityplan",
	width : 700,
	height : 700,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

popup_window.push({
	url : "/services/chapter.*/instructions/",
	window_name : "instructions",
	width : 700,
	height : 700,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

popup_window.push({
	url : "/qidsj/",
	window_name : "cbtjp_qidsj",
	width : 960,
	height : 700,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

popup_window.push({
	url : "/services/habits/explanations/\\?popup=1",
	window_name : "habits_explanations",
	width : 700,
	height : 700,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

popup_window.push({
	url : "/services/booklet/",
	window_name : "services_booklet",
	width : 1200,
	height : 800,
	channelmode : "no",
	fullscreen : "no",
	location : "yes",
	directories : "no",
	menubar : "no",
	scrollbars : "yes",
	status : "yes",
	toolbar : "no",
	resizable : "yes",
	top : -1,
	left : -1
});

function getProperties(type){
	switch(type){
		case "popup":
			if(popup_window.length > 0){
				if(!jcity.env.userAgent.ie){
					popup_window[0].height = popup_window[0].height + 0;
				}
				return popup_window;
			}else{
				return Array();
			}
			break;
	}
	return "";
}