var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222714&x=5847',
		'title': '',
		'imageId': '70222714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222716&x=5847',
		'title': '',
		'imageId': '70222716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222720&x=5847',
		'title': '',
		'imageId': '70222720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222724&x=5847',
		'title': '',
		'imageId': '70222724',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222717&x=5847',
		'title': '',
		'imageId': '70222717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222721&x=5847',
		'title': '',
		'imageId': '70222721',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222725&x=5847',
		'title': '',
		'imageId': '70222725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222718&x=5847',
		'title': '',
		'imageId': '70222718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222722&x=5847',
		'title': '',
		'imageId': '70222722',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222726&x=5847',
		'title': '',
		'imageId': '70222726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222719&x=5847',
		'title': '',
		'imageId': '70222719',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222723&x=5847',
		'title': '',
		'imageId': '70222723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222727&x=5847',
		'title': '',
		'imageId': '70222727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222728&x=5847',
		'title': '',
		'imageId': '70222728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222729&x=5847',
		'title': '',
		'imageId': '70222729',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222730&x=5847',
		'title': '',
		'imageId': '70222730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222731&x=5847',
		'title': '',
		'imageId': '70222731',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222732&x=5847',
		'title': '',
		'imageId': '70222732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222733&x=5847',
		'title': '',
		'imageId': '70222733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222734&x=5847',
		'title': '',
		'imageId': '70222734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222735&x=5847',
		'title': '',
		'imageId': '70222735',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222736&x=5847',
		'title': '',
		'imageId': '70222736',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222737&x=5847',
		'title': '',
		'imageId': '70222737',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222738&x=5847',
		'title': '',
		'imageId': '70222738',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222739&x=5847',
		'title': '',
		'imageId': '70222739',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222740&x=5847',
		'title': '',
		'imageId': '70222740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222741&x=5847',
		'title': '',
		'imageId': '70222741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019707&docid=70222742&x=5847',
		'title': '',
		'imageId': '70222742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019707';

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