function showtestimonial(varval,Idmain,Idmaincontent,Idfooter){	var objmain = document.getElementById(Idmain);	var objfoot = document.getElementById(Idfooter);	var objmainContent = document.getElementById(Idmaincontent);	var objTestimonial = document.getElementById('testimonial');	var objTestimonial_inner = document.getElementById('testimonial_inner');	objTestimonial.style.left = (findPosX(objmainContent) + objmainContent.scrollWidth - 14) + "px";	objTestimonial.style.top = (findPosY(objmainContent) + 10) + "px";	objTestimonial_inner.style.height = (findPosY(objfoot) - findPosY(objmainContent) - 82) + "px";	objTestimonial_inner.getElementsByTagName('marquee')[0].style.height = (findPosY(objfoot) - findPosY(objmainContent) - 82) + "px";}function findPosX(obj){	var curleft = 0;	if(obj.offsetParent)		while(1) 		{		  curleft += obj.offsetLeft;		  if(!obj.offsetParent)			break;		  obj = obj.offsetParent;		}	else if(obj.x)		curleft += obj.x;	return curleft;}function findPosY(obj){	var curtop = 0;	if(obj.offsetParent)		while(1)		{		  curtop += obj.offsetTop;		  if(!obj.offsetParent)			break;		  obj = obj.offsetParent;		}	else if(obj.y)		curtop += obj.y;	return curtop;}function setFramePosition(SharedObject){	var frameHeight = 300;	document.body.onmousemove = get_mouse_pointer_coordinates;	if(mousePos<frameHeight)	{		SharedObject.options.offsetTop = -300;	}	else	{		SharedObject.options.offsetTop = 0;	}}function get_mouse_pointer_coordinates(e){	var posy = 0;	var x=getScrollHeight();	if (!e) var e = window.event;	if (e.pageY)	{		posy = e.pageY;	}	else if (e.clientY)	{		posy = e.clientY + x;	}	mousePos = (window.screen.availHeight+x) -posy-163;	return mousePos;}var mousePos =0;function getScrollHeight(){	var h = window.pageYOffset ||	document.body.scrollTop ||	document.documentElement.scrollTop;	return h ? h : 0;}function changetestimonialbook(val){	var obj=document.getElementById("testimonialtext");	if(val == 1)		obj.innerHTML ="&quot;She delivers a lot of valuable help even for veteran screenwriters. The people new to screenwriting must get many times their money's worth.&quot;<br/> <span>- S.S., CA</span>";	if(val == 2)		obj.innerHTML = "&quot; ...guaranteed to shake the doldrums, rattle the senses and get the juices rolling. Viki King is the perfect tonic for finding the right voice, the heart, the time and the methods for getting the Great American Screenplay that is uniquely yours onto the page.&quot;<span> - Screenwriters Network </span>";	if(val == 3)		obj.innerHTML = "&quot;Viki King's Inner Movie Method is the most simplified process to get your passion from heart to screen.&quot;<span> - Writer's Connection Magazine</span>";	if(val == 4)		obj.innerHTML = "&quot;a guide like no other. A respected script consultant.&quot;<span> - Barnes and Noble </span>";	if(val == 5)		obj.innerHTML = "&quot;Attending your seminar really changed my life. Not only did it teach me to see myself as a screenwriter - something I had never imagined before, but you also taught me what an excellent tool script-writing can be in solving the problems in one's own life and vice-versa.&quot;<span> - EH, Solvang </span> ";	if(val == 6)		obj.innerHTML = "&quot;This is great. This whole thing is great. Yesterday I thought I'd have to tear up the real estate. &quot;<span>- GS, Los Angeles</span>";	val++;	if(val == 6)		val = 1;	setTimeout('changetestimonialbook('+val+')',5000);}function changetestimonialabout(val){	var obj=document.getElementById("testimonialtext");	if(val == 1)		obj.innerHTML ="&quot;Viki King is beyond Freud. Sensational.&quot;<span>-Judith Briles, Chairman of Writer's Conference for National Speakers Association, President of CIPA and author of 23 books </span>";	if(val == 2)		obj.innerHTML = "&quot; Viki King was a hit! From the feedback I've been getting, our members and guests learned a lot from exercises and questions she posed for us. It made each of us really think about and put into perspective the future, how we see it and what we have to do to get there.&quot;<span> -Laurel Walsch, Chairman of Women In Film  </span>";	if(val == 3)		obj.innerHTML = "&quot;...people were still clutching me to thank me for inviting her and to say how much the meeting with her meant to them. She involves and inspires the students to a degree that the normal speaker doesn't even approach.&quot; <span> -Paul Lazarus, Santa Barbara Writers Conference</span>";	val++;	if(val == 4)		val = 1;	setTimeout('changetestimonialabout('+val+')',5000);}function changetestimonialtext2012(val){	var obj=document.getElementById("testimonialtext");	if(val == 1)		obj.innerHTML ="&quot;With Viki King you get an astonishing combination of psychic vision and simple, clear answers to your biggest questions.&quot;<span>-- Robert Altman, CEO, Shipping Industry  </span>";	if(val == 2)		obj.innerHTML = "&quot; You can call her in tears and ten minutes later you notice you're completely calm and happy and so uplifted you can rule the world.&quot;<span> -- Shelley Isaacs, Fashion Importer </span>";	if(val == 3)		obj.innerHTML = "&quot;I thought the worst thing happened to me and I called her and somehow she has a way of showing you that it was the best thing that ever happened. She's heaven on the other end of the telephone.&quot;<span> -- Judy Bradley, Broadway Choreographer</span>";	val++;	if(val == 4)		val = 1;	setTimeout('changetestimonialtext2012('+val+')',5000);}function changetestimonialheal(val){	var obj=document.getElementById("testimonialtext");	if(val == 1)		obj.innerHTML ="&quot; Your clarity and insight into my script was like a diamond scalpel, cutting through so much to show me what was already buried there. And that dulls in comparison to the way you've helped me go around the many obstacles to my success' obstacles I had built myself.&quot; <span>-G.S., Los Angeles </span>";	if(val == 2)		obj.innerHTML = "&quot; There's no one like her and I wouldn't do a picture without her.&quot; <br/><span>-S.P., California </span>";	if(val == 3)		obj.innerHTML = "&quot; She's Yoda. I learned about me from her.&quot; <span>- R.B.,Hollywood Screenwriter</span>";	if(val == 4)		obj.innerHTML ="&quot;You have done so much for us, we're forever in your debt, I hold you responsible for Antwone's success. Last year at this time he was a security guard - now he got a six figure writing deal!&quot;<span> - Chris Smith, dedicated writing teacher, scriptwriter and now producer  </span>";	if(val == 5)		obj.innerHTML = "&quot; Viki gives us incredible nurturing through moments of mind-gone-blank and self-doubt while on location. Don't leave home without her.&quot;<br/><span> - GG, Los Angeles  </span>";	if(val == 6)		obj.innerHTML = "&quot;Wow this is so good. Someone should go to Viki instead of a year in therapy.&quot;<span> - HF, New York  </span>";	if(val == 7)		obj.innerHTML ="&quot;Viki helped me to become successful and now she helps me to use my success to help others.&quot;<br/><span>- JL, Beverly Hills  </span>";	if(val == 8)		obj.innerHTML = "&quot; You have such a unique insight into our 'humanness'. I was so impressed ...Fantastic!&quot; <span> - JM, New Zealand  </span>";	if(val == 9)		obj.innerHTML = "&quot;Viki completely pounded the head on my nail.&quot;<br/><span> - LW, Seattle</span>";		val++;	if(val == 10)		val = 1;	setTimeout('changetestimonialheal('+val+')',5000);}function changetestimonialanswer(val){	var obj=document.getElementById("testimonialtext");	if(val == 1)		obj.innerHTML ="&quot; With Viki King you get an astonishing combination of psychic vision and simple, clear answers to your biggest questions.&quot;<span>-- Robert Altman, CEO, Shipping Industry </span>";	if(val == 2)		obj.innerHTML = "&quot;You can call her in tears and ten minutes later you notice you're completely calm and happy and so uplifted you can rule the world.&quot;<span>-- Shelley Isaacs, Fashion Importer </span>";	if(val == 3)		obj.innerHTML = "&quot;I thought the worst thing happened to me and I called her and somehow she has a way of showing you that it was the best thing that ever happened. She's heaven on the other end of the telephone.&quot;<span> -- Judy Bradley, Broadway Choreographer </span>";	val++;	if(val == 4)		val = 1;	setTimeout('changetestimonialanswer('+val+')',5000);}function changetestimonialdiet(val){	var obj=document.getElementById("testimonialtext");	if(val == 1)		obj.innerHTML ="&quot; My copy of My Idea of Exercise is a Nap came just at the right time for me to receive the information in just the right way. I have lovingly 'given back' the weight I had been carrying...to those dearly departed whose burdens I had been willing to share. I feel much lighter now! And free...and more 'me'. What a relief to make the connection and experience the realization that those few pounds here and there are not mine, and that I am allowed to give them back. Thank you again for the great insight you are willing to share.&quot;<span> - NN, San Diego  </span>";	if(val == 2)		obj.innerHTML = "&quot;Your tape came this week... wish it was 2 hours longer... lovely setting, lovely YOU! What a role model for just what is possible and just how many beliefs we have that cause so many other folks to NOT have the lovely body you have created... loved it.&quot;<span> -GM, LA</span>";	val++;	if(val == 3)		val = 1;	setTimeout('changetestimonialdiet('+val+')',5000);}function changetestimonialgrief(val){	var obj=document.getElementById("testimonialtext");	if(val == 1)		obj.innerHTML ="&quot;I was mad at my Dad for dying. After I talked to Viki about it I felt peaceful. It's okay now. I love him and I feel him around me.&quot;<span>- KM, California </span>";	if(val == 2)		obj.innerHTML = "&quot;I feel so much better now. Viki showed me the difference between what was grief and what was fear of getting on with my life. I'm very thankful.&quot;<br/><span>-PG, California</span>";	if(val == 3)		obj.innerHTML = "&quot;Viki King excels at working with people who are successful at operating in the world and who now want access to out of this world resources.&quot;<span>- Michael Nichols, Leadership Consultant to the Entertainment and Technology Industries  </span>";		if(val == 4)		obj.innerHTML = "&quot;I'm dumbfounded. I just feel like my whole world got bigger.&quot;<br/><span> - WH, London</span>";		if(val == 5)		obj.innerHTML = "&quot;I thought I'd never get over it and now I feel so peaceful. Thank you Viki.&quot;<span> - TS, Hong Kong </span>";			val++;	if(val == 6)		val = 1;	setTimeout('changetestimonialgrief('+val+')',5000);}function setContentWidth(){	if(navigator.appName == "Microsoft Internet Explorer")		strcontentwidth = "659px !important";	else if(navigator.appName == "Netscape")		strcontentwidth = "661px !important";	else		strcontentwidth = "661px !important";			document.getElementById('mainContent').style.width = strcontentwidth;}function ShowCommentUserListDisplay(Idcomment,Idh3){	objh3 = document.getElementById(Idh3);	objcomment = document.getElementById(Idcomment);	objuserlist = document.getElementById('usercommentlist');	objuserlistli = objuserlist.getElementsByTagName('li');	if(objuserlistli.length == 0)	{		objh3.innerHTML = "";	}	else	{		objh3.innerHTML = "Show";		objuserlist.style.display = "none";	}	document.getElementById('leaverplytoadmin').innerHTML = "Show";	document.getElementById('userrplydiv').style.display = "none";}function showcommentofuser(Idh3,objthis){	objuserlist = document.getElementById('usercommentlist');	if(objuserlist.style.display == "none")	{		objuserlist.style.display = "block";		objthis.innerHTML = "Hide";	}	else	{		objuserlist.style.display = "none";		objthis.innerHTML = "Show";	}}function showrplyofuser(Iduserrply,objthis){	objuserlist = document.getElementById(Iduserrply);	if(objuserlist.style.display == "none")	{		objuserlist.style.display = "block";		objthis.innerHTML = "Hide";	}	else	{		objuserlist.style.display = "none";		objthis.innerHTML = "Show";	}}