var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285424&x=377',
		'title': '',
		'imageId': '68285424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285413&x=377',
		'title': '',
		'imageId': '68285413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285423&x=377',
		'title': '',
		'imageId': '68285423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285429&x=377',
		'title': '',
		'imageId': '68285429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285425&x=377',
		'title': '',
		'imageId': '68285425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285427&x=377',
		'title': '',
		'imageId': '68285427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285418&x=377',
		'title': '',
		'imageId': '68285418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285420&x=377',
		'title': '',
		'imageId': '68285420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285412&x=377',
		'title': '',
		'imageId': '68285412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285422&x=377',
		'title': '',
		'imageId': '68285422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285419&x=377',
		'title': '',
		'imageId': '68285419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285417&x=377',
		'title': '',
		'imageId': '68285417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285416&x=377',
		'title': '',
		'imageId': '68285416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285426&x=377',
		'title': '',
		'imageId': '68285426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285414&x=377',
		'title': '',
		'imageId': '68285414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285430&x=377',
		'title': '',
		'imageId': '68285430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285431&x=377',
		'title': '',
		'imageId': '68285431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285428&x=377',
		'title': '',
		'imageId': '68285428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285415&x=377',
		'title': '',
		'imageId': '68285415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68285421&x=377',
		'title': '',
		'imageId': '68285421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68394650&x=377',
		'title': '',
		'imageId': '68394650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936796&docid=68394651&x=377',
		'title': '',
		'imageId': '68394651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936796';

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