/***************************************************************************
 *                              AJAXed_config.js
 *                            -------------------
 *   begin                : Wednesday, Mar 8, 2006
 *   copyright            : (C) 2006 *=Matt=*
 *   email                : matt.gru@gmail.com
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/


//
// Configuration
//
var config 					= 	new Array();
config['AJAXed_Online'] 			=	true;
config['AJAXed_Poll_Menu'] 			=	true;
config['AJAXed_Poll_Title'] 			=	true;
config['AJAXed_Poll_Options'] 			=	true;
config['AJAXed_Poll_Max'] 			=	"10";
config['AJAXed_Poll_count'] 			=	"0";
config['AJAXed_Poll_counted'] 			=	"0";
config['AJAXed_Poll_Adding'] 			=	false;
config['AJAXed_Poll_View'] 			=	null;
config['AJAXed_Poll_Viewed'] 			=	null;
config['AJAXed_Post_Title'] 			=	true;
config['AJAXed_User_List'] 			=	true;
config['AJAXed_User_Selected']			=	null;
config['AJAXed_User_Power']			=	null;
config['AJAXed_User_Typed']			=	null;
config['AJAXed_User_Max']			=	null;
config['AJAXed_User_mode']			=	false;
config['AJAXed_Username_Check'] 		=	true;
config['AJAXed_Password_Check'] 		=	true;
config['AJAXed_Is_Loading']			=	false;
config['AJAXed_Topic_ID']			=	null;
config['AJAXed_Post_ID']			=	null;
config['AJAXed_Class_1']			=	"EFEFEF";
config['AJAXed_Class_2']			=	"DEE3E7";
config['AJAXed_KeyUp']				=	null;


//
// Language
//
var lang 					= 	new Array();
lang['AJAXed_Error']				=	"There was an error in AJAXed.";
lang['AJAXed_Loading']				=	"&nbsp;Loading...";
lang['AJAXed_Check_User_1']			= 	"This username has not been takin yet! ";
lang['AJAXed_Check_True']			= 	"The passwords you entered match! ";
lang['AJAXed_Check_False']			= 	"The passwords you entered didn't match! ";
lang['AJAXed_Delete_Post']			=	"Are you sure you want to delete this post?";
lang['AJAXed_Delete_Confirm']			=	"Are you sure you want to delete this topic and its posts?";
lang['AJAXed_Poll_Update']			= 	"Update";
lang['AJAXed_Poll_Confirm']			=	"Are you sure you want to delete this poll option?";
lang['AJAXed_Poll_Delete']			=	"Delete";
lang['AJAXed_Poll_Many']			=	"You have tried to enter too many poll options.";
lang['AJAXed_Poll_Option']			= 	"Poll option";
lang['AJAXed_Poll_Select']			=	"You must select a poll option before casting your vote.";
lang['AJAXed_Timed_Out']			=	"AJAXed has timed out! Please try again later.";
lang['AJAXed_Topic_Move']			= 	"<b>Moved:</b> ";
lang['AJAXed_Topic_Title']			=	"Mattie.Info Source Forums :: View topic - ";


//
// Image
//
var image 					= 	new Array();
image['AJAXed_X']				=	"templates/subSilver/images/AJAXed_red_X.png";
image['AJAXed_Check']				=	"templates/subSilver/images/AJAXed_green_Check.png";
image['spacer']					=	"./images/spacer.gif";


//
// Template
//
function poll(id)
{
	var template 			= 	'<span class="genmed"><input type="text" name="poll_option_text[' + id + ']" size="50" class="post" maxlength="255" value="' + document.post.add_poll_option_text.value + '" /></span> &nbsp;<input type="submit" name="edit_poll_option" value="' + lang['AJAXed_Poll_Update'] + '" class="liteoption" /> <input type="submit" onClick="kc(this); return false;" name="del_poll_option[' + id + ']" value="' + lang['AJAXed_Poll_Delete'] + '" class="liteoption" />';	return template;
}
