var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377765&x=2012',
		'title': '',
		'imageId': '69377765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377772&x=2012',
		'title': '',
		'imageId': '69377772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377766&x=2012',
		'title': '',
		'imageId': '69377766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377734&x=2012',
		'title': '',
		'imageId': '69377734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377721&x=2012',
		'title': '',
		'imageId': '69377721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377713&x=2012',
		'title': '',
		'imageId': '69377713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377716&x=2012',
		'title': '',
		'imageId': '69377716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377773&x=2012',
		'title': '',
		'imageId': '69377773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377707&x=2012',
		'title': '',
		'imageId': '69377707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377706&x=2012',
		'title': '',
		'imageId': '69377706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377782&x=2012',
		'title': '',
		'imageId': '69377782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377776&x=2012',
		'title': '',
		'imageId': '69377776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377755&x=2012',
		'title': '',
		'imageId': '69377755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377748&x=2012',
		'title': '',
		'imageId': '69377748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377758&x=2012',
		'title': '',
		'imageId': '69377758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377740&x=2012',
		'title': '',
		'imageId': '69377740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377743&x=2012',
		'title': '',
		'imageId': '69377743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377749&x=2012',
		'title': '',
		'imageId': '69377749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377799&x=2012',
		'title': '',
		'imageId': '69377799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377728&x=2012',
		'title': '',
		'imageId': '69377728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377801&x=2012',
		'title': '',
		'imageId': '69377801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377794&x=2012',
		'title': '',
		'imageId': '69377794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377725&x=2012',
		'title': '',
		'imageId': '69377725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377731&x=2012',
		'title': '',
		'imageId': '69377731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377739&x=2012',
		'title': '',
		'imageId': '69377739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377788&x=2012',
		'title': '',
		'imageId': '69377788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377791&x=2012',
		'title': '',
		'imageId': '69377791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377705&x=2012',
		'title': '',
		'imageId': '69377705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377767&x=2012',
		'title': '',
		'imageId': '69377767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377781&x=2012',
		'title': '',
		'imageId': '69377781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377754&x=2012',
		'title': '',
		'imageId': '69377754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377722&x=2012',
		'title': '',
		'imageId': '69377722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377709&x=2012',
		'title': '',
		'imageId': '69377709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377708&x=2012',
		'title': '',
		'imageId': '69377708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794024&docid=69377710&x=2012',
		'title': '',
		'imageId': '69377710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3794024';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
