var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095366&x=1313',
		'title': '',
		'imageId': '68095366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095367&x=1313',
		'title': '',
		'imageId': '68095367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095368&x=1313',
		'title': '',
		'imageId': '68095368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095369&x=1313',
		'title': '',
		'imageId': '68095369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095370&x=1313',
		'title': '',
		'imageId': '68095370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095371&x=1313',
		'title': '',
		'imageId': '68095371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095372&x=1313',
		'title': '',
		'imageId': '68095372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095373&x=1313',
		'title': '',
		'imageId': '68095373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095374&x=1313',
		'title': '',
		'imageId': '68095374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095375&x=1313',
		'title': '',
		'imageId': '68095375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095376&x=1313',
		'title': '',
		'imageId': '68095376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095377&x=1313',
		'title': '',
		'imageId': '68095377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095378&x=1313',
		'title': '',
		'imageId': '68095378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095379&x=1313',
		'title': '',
		'imageId': '68095379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095380&x=1313',
		'title': '',
		'imageId': '68095380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095381&x=1313',
		'title': '',
		'imageId': '68095381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095382&x=1313',
		'title': '',
		'imageId': '68095382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095383&x=1313',
		'title': '',
		'imageId': '68095383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095384&x=1313',
		'title': '',
		'imageId': '68095384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095385&x=1313',
		'title': '',
		'imageId': '68095385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095386&x=1313',
		'title': '',
		'imageId': '68095386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928558&docid=68095387&x=1313',
		'title': '',
		'imageId': '68095387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928558';

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