var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499738&x=3730',
		'title': '',
		'imageId': '68499738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499747&x=3730',
		'title': '',
		'imageId': '68499747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499757&x=3730',
		'title': '',
		'imageId': '68499757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499753&x=3730',
		'title': '',
		'imageId': '68499753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499754&x=3730',
		'title': '',
		'imageId': '68499754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499760&x=3730',
		'title': '',
		'imageId': '68499760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499758&x=3730',
		'title': '',
		'imageId': '68499758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499755&x=3730',
		'title': '',
		'imageId': '68499755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499756&x=3730',
		'title': '',
		'imageId': '68499756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499749&x=3730',
		'title': '',
		'imageId': '68499749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499745&x=3730',
		'title': '',
		'imageId': '68499745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499759&x=3730',
		'title': '',
		'imageId': '68499759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499748&x=3730',
		'title': '',
		'imageId': '68499748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499751&x=3730',
		'title': '',
		'imageId': '68499751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499752&x=3730',
		'title': '',
		'imageId': '68499752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499742&x=3730',
		'title': '',
		'imageId': '68499742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499741&x=3730',
		'title': '',
		'imageId': '68499741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499744&x=3730',
		'title': '',
		'imageId': '68499744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499743&x=3730',
		'title': '',
		'imageId': '68499743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499750&x=3730',
		'title': '',
		'imageId': '68499750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499740&x=3730',
		'title': '',
		'imageId': '68499740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499746&x=3730',
		'title': '',
		'imageId': '68499746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946684&docid=68499739&x=3730',
		'title': '',
		'imageId': '68499739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946684';

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