var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436288&x=232',
		'title': '',
		'imageId': '7436288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436291&x=232',
		'title': '',
		'imageId': '7436291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436294&x=232',
		'title': '',
		'imageId': '7436294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436297&x=232',
		'title': '',
		'imageId': '7436297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436300&x=232',
		'title': '',
		'imageId': '7436300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436304&x=232',
		'title': '',
		'imageId': '7436304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436309&x=232',
		'title': '',
		'imageId': '7436309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436313&x=232',
		'title': '',
		'imageId': '7436313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436319&x=232',
		'title': '',
		'imageId': '7436319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436324&x=232',
		'title': '',
		'imageId': '7436324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436328&x=232',
		'title': '',
		'imageId': '7436328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436334&x=232',
		'title': '',
		'imageId': '7436334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436340&x=232',
		'title': '',
		'imageId': '7436340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436343&x=232',
		'title': '',
		'imageId': '7436343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436349&x=232',
		'title': '',
		'imageId': '7436349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436352&x=232',
		'title': '',
		'imageId': '7436352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436357&x=232',
		'title': '',
		'imageId': '7436357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436361&x=232',
		'title': '',
		'imageId': '7436361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436364&x=232',
		'title': '',
		'imageId': '7436364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436369&x=232',
		'title': '',
		'imageId': '7436369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436372&x=232',
		'title': '',
		'imageId': '7436372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436375&x=232',
		'title': '',
		'imageId': '7436375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436378&x=232',
		'title': '',
		'imageId': '7436378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436381&x=232',
		'title': '',
		'imageId': '7436381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=927494&docid=7436384&x=232',
		'title': '',
		'imageId': '7436384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #927494';

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";
	})
}
