window.onload = function() {
var cssFile = document.createElement("link");
cssFile.setAttribute("rel", "stylesheet");
cssFile.setAttribute("type", "text/css");
cssFile.setAttribute("href", "http://c.mojopages.com/mstatic/styles/bizWidgetEmbed.css");
document.getElementsByTagName( "head" )[0].appendChild( cssFile );
updateRank();
}
// Update Current Rank and other variables (ie Voting countdown timer, reviews)
function updateRank()
{
var currentRank = 0;
//For Medium and Skyscraper widgets, update current Rank. Small widget does not show rank.
if (!document.getElementById( "mojo_widget_" + 9300342 ).className.match(/mojoSmallWidget/) )
{
if (currentRank >= 1 && currentRank <= 10)
{
if (currentRank == 1)
{
document.getElementById( "currentRank_" + 9300342 ).className = 'mojo1stPlace';
}
else if (currentRank <= 5)
{
document.getElementById( "currentRank_" + 9300342 ).className = 'mojoTop5';
}
else
{
document.getElementById( "currentRank_" + 9300342 ).className = 'mojoTop10';
}
}
else
{
//If outside of Top 10 or biz does not have any reviews, display Nominated and remove "Currently Ranked" text
document.getElementById( "currentRank_" + 9300342 ).className = 'mojoNominated';
document.getElementById( "mojoCurrentlyRanked" ).innerHTML = ''; //remove "Currently Ranked" text
}
//Medium Widget
if ( document.getElementById( "mojo_widget_" + 9300342 ).className.match(/mojoMediumWidget/) )
{
//Update total votes count
document.getElementById( "numVotes_9300342" ).innerHTML = 2;
//Modify 'flourishes' background image for correct alignment for nominated vs. top x
if ( document.getElementById( "currentRank_" + 9300342 ).className == 'mojoNominated' ) {
document.getElementById( "mojoRankWrapper" ).className = 'nominated';
}
//Start Countdown timer for Medium and Skyscraper sizes
GetCount();
}
//Skyscraper Widget
if ( document.getElementById( "mojo_widget_" + 9300342 ).className.match(/mojoSkyscraperWidget/) )
{
//Update spacing for "Nominated"
if ( document.getElementById( "currentRank_" + 9300342 ).className == 'mojoNominated' )
{
document.getElementById( "mojoRankWrapper" ).style.backgroundPosition = "45px 0";
document.getElementById( "currentRank_9300342" ).style.top = "16px";
}
//Insert reviews
document.getElementById( "reviews_9300342" ).innerHTML = ''; //clear previous values
var liTag = '
Rod went above and beyond to make it work out I want to thank Rod and his Crew for the Professional Work and Personal touches done to My Honda . Major work was needed to My Honda due to My accord, no pun intended but true. Rod squeezed me in and work was done in the time agreed and the work was past my expectations. Rod went above and beyond to make it work out. Communication was excellent and the work was very professional and I can tell Rod was looking after My best interest. I'm so happy with the work that I am going to Rods for My oil changes and scheduled tune ups.
Very Highly Recommended on My part.
June 11, 2010 by Tanya's Husband in Bellingham, WA
';
document.getElementById( "reviews_9300342" ).innerHTML += liTag;
var liTag = 'I felt good I had a Mechanic I could trustWith my car being paid off, I myself would NEVER EVER bring my car to a DEALER SERVICE again after warranty expired. Lets say they offered Me a "good deal" to trade in my Paid off car for a New one and all I came in was service and my car still made noises after. So I was hesitant to bring My car to any Mechanic again. Then...
Rod's Japanese Auto Care was recommended to My New wife to fix her Subaru after a fender bender last snow storm. She liked his work and ever since. My wife has since brought her Subaru to Rod's Japanese Auto Care to tune and fix her ageing Subaru. I came with her ever time she pickup up her Subaru and was impressed with Rod's services and desk side manor.
Impressed enough to bring My 98 Honda for service. Rod himself was friendly and upfront. Showing Me the work He and his Son did with Schematics and language that didn’t intimidate Me and make Me feel like a fool for not understanding. Rod showed Me why My car was making the noise and what the part was suppose to do. Rod and his Son even fixed some of the "Dealer, forgot to does" when the Dealer was closing and finishing up my car. I felt He know his trait Well, Rod didn't try to offer any other services I didn't need, only perhaps to change my worn out brake pads in the rear, which I did for safety sake. Armed with up to date information and State-of-the-art equipment, I felt good I had a Mechanic I could trust.
After I got my car back I was impressed with the noise it made…no noise what so ever ; ) OHHH the JoY!!! That's why I am writing this report to let you know that there is a LOCAL Auto repair shop that didn't screw Me and My Wife. Rod's Japanese Auto Care made Clients out of us. Think about it, if there was something wrong with your body, would you bring it to a doctor for a fix and all the doctor did was a "quick fix" knowing you would be back for another fix, or go to a doctor that would fix it warranty it and let his services do his talking.
';
document.getElementById( "reviews_9300342" ).innerHTML += liTag;
//Start Countdown timer for Medium and Skyscraper sizes
GetCount();
}
}
}
var thisDay = new Date();
var dateFutureYear = thisDay.getFullYear(); //use same 4 digit year as current year
var dateFutureMonth = thisDay.getMonth() + 1; //get 0-11 month, add 1 to offset array position
var dateFutureDay = 0; //set day, hour, min, sec to Sunday at 00:00 when awards voting ends
var dateFutureHours = 0;
var dateFutureMins = 0;
var dateFutureSeconds = 0;
var dateFuture = new Date( 1357027200000 );
function GetCount(){
var dateNow = new Date(); //grab current date
var amount = dateFuture.getTime() - dateNow.getTime(); //calc milliseconds between dates
delete dateNow;
// time is already past
if (amount < 0) {
//document.getElementById('countbox_biz_details').innerHTML="MojoAwards countdown complete!";
} else { // date is still good
var days = 0;
var hours = 0;
var mins = 0;
var secs = 0;
var out = "";
amount = Math.floor(amount/1000);//kill the "milliseconds" so just secs
days=Math.floor(amount/86400);//days
if ( days < 10 ) {
days = "0" + days;
}
amount=amount%86400;
hours=Math.floor(amount/3600);//hours
if ( hours < 10 ) {
hours = "0" + hours;
}
amount=amount%3600;
mins=Math.floor(amount/60);//minutes
if ( mins < 10 ) {
mins = "0" + mins;
}
amount=amount%60;
secs=Math.floor(amount);//seconds
if ( secs < 10 ) {
secs = "0" + secs;
}
document.getElementById('days').innerHTML = days;
document.getElementById('hours').innerHTML = hours;
document.getElementById('mins').innerHTML = mins;
document.getElementById('secs').innerHTML = secs;
setTimeout("GetCount()", 1000);
}
}