var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078235&x=3839',
		'title': '',
		'imageId': '71078235',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078230&x=3839',
		'title': '',
		'imageId': '71078230',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078234&x=3839',
		'title': '',
		'imageId': '71078234',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078233&x=3839',
		'title': '',
		'imageId': '71078233',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078253&x=3839',
		'title': '',
		'imageId': '71078253',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078243&x=3839',
		'title': '',
		'imageId': '71078243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078246&x=3839',
		'title': '',
		'imageId': '71078246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078249&x=3839',
		'title': '',
		'imageId': '71078249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078237&x=3839',
		'title': '',
		'imageId': '71078237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078251&x=3839',
		'title': '',
		'imageId': '71078251',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078228&x=3839',
		'title': '',
		'imageId': '71078228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078231&x=3839',
		'title': '',
		'imageId': '71078231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078241&x=3839',
		'title': '',
		'imageId': '71078241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078239&x=3839',
		'title': '',
		'imageId': '71078239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078229&x=3839',
		'title': '',
		'imageId': '71078229',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078232&x=3839',
		'title': '',
		'imageId': '71078232',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078247&x=3839',
		'title': '',
		'imageId': '71078247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078250&x=3839',
		'title': '',
		'imageId': '71078250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078245&x=3839',
		'title': '',
		'imageId': '71078245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078252&x=3839',
		'title': '',
		'imageId': '71078252',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078238&x=3839',
		'title': '',
		'imageId': '71078238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078236&x=3839',
		'title': '',
		'imageId': '71078236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078248&x=3839',
		'title': '',
		'imageId': '71078248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078244&x=3839',
		'title': '',
		'imageId': '71078244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078240&x=3839',
		'title': '',
		'imageId': '71078240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=71078242&x=3839',
		'title': '',
		'imageId': '71078242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=59270415&x=3839',
		'title': '',
		'imageId': '59270415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048224&docid=59270407&x=3839',
		'title': '',
		'imageId': '59270407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4048224';

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