var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554712&x=562',
		'title': '',
		'imageId': '68554712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554717&x=562',
		'title': '',
		'imageId': '68554717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554730&x=562',
		'title': '',
		'imageId': '68554730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554729&x=562',
		'title': '',
		'imageId': '68554729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554731&x=562',
		'title': '',
		'imageId': '68554731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554732&x=562',
		'title': '',
		'imageId': '68554732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554734&x=562',
		'title': '',
		'imageId': '68554734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554736&x=562',
		'title': '',
		'imageId': '68554736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554719&x=562',
		'title': '',
		'imageId': '68554719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554716&x=562',
		'title': '',
		'imageId': '68554716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554722&x=562',
		'title': '',
		'imageId': '68554722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554718&x=562',
		'title': '',
		'imageId': '68554718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554735&x=562',
		'title': '',
		'imageId': '68554735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554721&x=562',
		'title': '',
		'imageId': '68554721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554720&x=562',
		'title': '',
		'imageId': '68554720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554726&x=562',
		'title': '',
		'imageId': '68554726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554723&x=562',
		'title': '',
		'imageId': '68554723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554724&x=562',
		'title': '',
		'imageId': '68554724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554725&x=562',
		'title': '',
		'imageId': '68554725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554733&x=562',
		'title': '',
		'imageId': '68554733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554728&x=562',
		'title': '',
		'imageId': '68554728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948608&docid=68554727&x=562',
		'title': '',
		'imageId': '68554727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948608';

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