var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034749&x=2455',
		'title': '',
		'imageId': '68034749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034748&x=2455',
		'title': '',
		'imageId': '68034748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034750&x=2455',
		'title': '',
		'imageId': '68034750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034751&x=2455',
		'title': '',
		'imageId': '68034751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034754&x=2455',
		'title': '',
		'imageId': '68034754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034757&x=2455',
		'title': '',
		'imageId': '68034757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034761&x=2455',
		'title': '',
		'imageId': '68034761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034765&x=2455',
		'title': '',
		'imageId': '68034765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034766&x=2455',
		'title': '',
		'imageId': '68034766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034772&x=2455',
		'title': '',
		'imageId': '68034772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034773&x=2455',
		'title': '',
		'imageId': '68034773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034775&x=2455',
		'title': '',
		'imageId': '68034775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034728&x=2455',
		'title': '',
		'imageId': '68034728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034730&x=2455',
		'title': '',
		'imageId': '68034730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034729&x=2455',
		'title': '',
		'imageId': '68034729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034731&x=2455',
		'title': '',
		'imageId': '68034731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034732&x=2455',
		'title': '',
		'imageId': '68034732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034733&x=2455',
		'title': '',
		'imageId': '68034733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034736&x=2455',
		'title': '',
		'imageId': '68034736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034834&x=2455',
		'title': '',
		'imageId': '68034834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034833&x=2455',
		'title': '',
		'imageId': '68034833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925395&docid=68034739&x=2455',
		'title': '',
		'imageId': '68034739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925395';

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