var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657661&x=1417',
		'title': '',
		'imageId': '68657661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657660&x=1417',
		'title': '',
		'imageId': '68657660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657659&x=1417',
		'title': '',
		'imageId': '68657659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657663&x=1417',
		'title': '',
		'imageId': '68657663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657662&x=1417',
		'title': '',
		'imageId': '68657662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657664&x=1417',
		'title': '',
		'imageId': '68657664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657670&x=1417',
		'title': '',
		'imageId': '68657670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657673&x=1417',
		'title': '',
		'imageId': '68657673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657676&x=1417',
		'title': '',
		'imageId': '68657676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657679&x=1417',
		'title': '',
		'imageId': '68657679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657702&x=1417',
		'title': '',
		'imageId': '68657702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657682&x=1417',
		'title': '',
		'imageId': '68657682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657687&x=1417',
		'title': '',
		'imageId': '68657687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657688&x=1417',
		'title': '',
		'imageId': '68657688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657694&x=1417',
		'title': '',
		'imageId': '68657694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657701&x=1417',
		'title': '',
		'imageId': '68657701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657698&x=1417',
		'title': '',
		'imageId': '68657698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657667&x=1417',
		'title': '',
		'imageId': '68657667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953325&docid=68657983&x=1417',
		'title': '',
		'imageId': '68657983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953325';

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