var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842522&x=42',
		'title': '',
		'imageId': '70842522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842523&x=42',
		'title': '',
		'imageId': '70842523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842519&x=42',
		'title': '',
		'imageId': '70842519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842592&x=42',
		'title': '',
		'imageId': '70842592',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842594&x=42',
		'title': '',
		'imageId': '70842594',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842596&x=42',
		'title': '',
		'imageId': '70842596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842518&x=42',
		'title': '',
		'imageId': '70842518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842513&x=42',
		'title': '',
		'imageId': '70842513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842517&x=42',
		'title': '',
		'imageId': '70842517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842516&x=42',
		'title': '',
		'imageId': '70842516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842583&x=42',
		'title': '',
		'imageId': '70842583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842520&x=42',
		'title': '',
		'imageId': '70842520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842511&x=42',
		'title': '',
		'imageId': '70842511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842584&x=42',
		'title': '',
		'imageId': '70842584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842589&x=42',
		'title': '',
		'imageId': '70842589',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842598&x=42',
		'title': '',
		'imageId': '70842598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842586&x=42',
		'title': '',
		'imageId': '70842586',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842588&x=42',
		'title': '',
		'imageId': '70842588',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842585&x=42',
		'title': '',
		'imageId': '70842585',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842597&x=42',
		'title': '',
		'imageId': '70842597',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842590&x=42',
		'title': '',
		'imageId': '70842590',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842593&x=42',
		'title': '',
		'imageId': '70842593',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842587&x=42',
		'title': '',
		'imageId': '70842587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842591&x=42',
		'title': '',
		'imageId': '70842591',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842595&x=42',
		'title': '',
		'imageId': '70842595',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842515&x=42',
		'title': '',
		'imageId': '70842515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842521&x=42',
		'title': '',
		'imageId': '70842521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842512&x=42',
		'title': '',
		'imageId': '70842512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70842514&x=42',
		'title': '',
		'imageId': '70842514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044063&docid=70992221&x=42',
		'title': '',
		'imageId': '70992221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044063';

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