",startCloseTag)+1;
if(div_results!="")
{
objResults.innerHTML+=strBloque.substring(index,startOpenTag);
}
try{
eval(strBloque.substring(endOpenTag,startCloseTag));
}catch(e){
alert(e.name + " - "+e.message);
}
index=endCloseTag;
}
if(div_results!="")
{
objResults.innerHTML+=strBloque.substring(index,strBloque.length);
}
}else{
if(div_results!="")
{
objResults.innerHTML+=strBloque;
}
}
}
var ajax_queue_current = 0;
var ajax_queue_running = 0;
var ajax_queue = Array();
var ajax_queues = 0;
var ajax_queue_callback = "";
function LoadContent(parameters,script,form,ret,divsec)
{
ajax_queues = ajax_queues+1;
ajax_queue[ajax_queues] = Array(parameters,script,form,ret,divsec);
if (ajax_queue_callback){ajax_queue[ajax_queues]['callback'] = ajax_queue_callback;ajax_queue_callback = "";}
if (ajax_queue_running == 0){AJAX_NextQueue();}
}
function AJAX_NextQueue()
{
if (ajax_queue_running == 1){
if (ajax_queue[ajax_queue_current]['callback']){eval(ajax_queue[ajax_queue_current]['callback']);}
}
next = ajax_queue_current+1;
if (ajax_queues >= next)
{
ajax_queue_running = 1;
ajax_queue_current = ajax_queue_current + 1;
AJAX_Run(ajax_queue[next][0],ajax_queue[next][1],ajax_queue[next][2],ajax_queue[next][3],ajax_queue[next][4]);
}else{ajax_queue_running = 0;if ($('AjaxStatus')){$('AjaxStatus').innerHTML = "";$('AjaxStatus').style.display ="none";} }
}
function AJAX_Run(parameters,script,form,ret,divsec)
{
if (script.indexOf('.php') > 0 )
{var url = script;}else{var url = "http://www.deborahkunzie.com/management/"+script+".php";}
var params = "aid=ajax&script="+script+parameters;
if (form){params = params + "&" + Form.serialize($(form))}
divid = "Ajax_Table"; if (divsec){divid = divsec;}
if ($('AjaxStatus')){$('AjaxStatus').innerHTML = "Ajax Running "+ajax_queue_current+"/"+ajax_queue.length+". Please be patient... ";$('AjaxStatus').style.display ="";}
new Ajax.Request(url, { method: 'post', parameters: params,
onSuccess: function(transport)
{
if (ret == "noreturn")
{
ajax_queue[ajax_queue_current]['result'] = transport.responseText;
}
else
{
ajax_queue[ajax_queue_current]['result'] = transport.responseText;
ExcecuteSriptsAndReturnText(transport.responseText,divid);
}
AJAX_NextQueue();
}
});
}
function ViewPhoto(gi_id,samewindow)
{
if (samewindow != true)
{
winGP = Dialog.confirm('',{top: 10, width:700,height:500, className: "alphacube", okLabel: "Close" })
winGP.getContent().update($('view_photo_div').innerHTML);
winGP.showCenter();
}
LoadContent('&vid=view_photo&gi_id='+gi_id,'includes/components/gallery/gallery.php','','return','view_photo_div_html');
}
function Gallery_SendComment()
{
var fck = FCKeditorAPI.GetInstance("gco_html");
fck.UpdateLinkedField();
ValidateFirst('COForm','1','V_Run','&vala='+$('gi_id').value);
}
function Gallery_SendComment_AJAX()
{
LoadContent('&vid=send_comment&gi_id='+$('gi_id').value,'includes/components/gallery/gallery.php','COForm','return','view_photo_div_html');
return false;
}
function ViewSinglePhoto(photo,autofit,windowWidth,windowHeight)
{
if (autofit == null){autofit = true;}
var newImg = new Image();
newImg.src = photo;
if (newImg.height > 0)
{
if (autofit == true)
{
var height = newImg.height;
var width = newImg.width;
if (width > (iecompattest().clientWidth - 50) ) {windowWidth = iecompattest().clientWidth - 50;} else { windowWidth = width; }
if (height > (iecompattest().clientHeight - 50) ) {windowHeight = iecompattest().clientHeight - 50;} else { windowHeight = height + 20; }
}
if (windowWidth == null){windowWidth = 700;}
if (windowHeight == null){windowHeight = 500;}
winGP = Dialog.confirm('',{top: 10, width:windowWidth,height:windowHeight, className: "alphacube", okLabel: "Close" })
$('SinglePhotoDIV_Image').src = photo;
winGP.getContent().update($('SinglePhotoDIV').innerHTML);
winGP.showCenter();
}
}
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
Welcome to My World
"You're like a sweet onion, there's always another fascinating layer to get to know." friend - Denise Watson
Latest From My Site
The Dance
Posted on: photography at 27-Aug-08 05:24
The regalia of the dance tells a story all of it's own. They dance with grace and elegance as well as respect for the tradition. The Indian Dance represents a lifelong commitment to each Native American that learns to dance from childhood. It is taught in hopes that they teach their young, to keep the tradition from becoming extinct.
Being Native American myself, I have been given s(..) Read the full story