var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478375&x=4447',
		'title': '',
		'imageId': '70478375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478376&x=4447',
		'title': '',
		'imageId': '70478376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478377&x=4447',
		'title': '',
		'imageId': '70478377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478378&x=4447',
		'title': '',
		'imageId': '70478378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478379&x=4447',
		'title': '',
		'imageId': '70478379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478380&x=4447',
		'title': '',
		'imageId': '70478380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478381&x=4447',
		'title': '',
		'imageId': '70478381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478382&x=4447',
		'title': '',
		'imageId': '70478382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478383&x=4447',
		'title': '',
		'imageId': '70478383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030898&docid=70478384&x=4447',
		'title': '',
		'imageId': '70478384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030898';

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