
////////////////////////////////////////////////////////////////////////////////////////////////////
// JAVASCRIPT TO FLASH COMMUNICATION                                               
function sendToFlash(content_obj){ 
	flashProxy.call('jsSetDataStr', objectToHashString(content_obj), 123, true, new Date(), null);
}
////////////////////////////////////////////////////////////////////////////////////////////////////

function flashToJs(str){
	loadTemplateByHashString(str[1] );

}


//////////////////////////////////////////////////////////////////////////////////////
// IF THERE IS A HASH DEFINED THEN LOAD IT 
// (THIS IS A BOOKMARK BEING LOADED)
//var hash_str =String(window.location.hash);
//if (hash_str.length > 0){
	// This page is being redirected.
	//loadTemplate(hashStringToObject(hash_str) );	
//} else { 
	// Add initial content to 
	registerCurrentContent(initial_content_obj , true);  	
//}
////////////////////////////////////////////////////////////////////////////////////// 